Skip to content

Commit a5ebe88

Browse files
authored
Merge 4.2 into 4.3 (#2780)
Merge 4.2 into 4.3
2 parents df90ab3 + b55393c commit a5ebe88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ private static function lookupVersion(): string
328328
try {
329329
return self::$version = InstalledVersions::getPrettyVersion('mongodb/laravel-mongodb');
330330
} catch (Throwable) {
331-
// Ignore exceptions and return unknown version
331+
return self::$version = 'error';
332332
}
333333
}
334334

0 commit comments

Comments
 (0)