We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df90ab3 + b55393c commit a5ebe88Copy full SHA for a5ebe88
src/Connection.php
@@ -328,7 +328,7 @@ private static function lookupVersion(): string
328
try {
329
return self::$version = InstalledVersions::getPrettyVersion('mongodb/laravel-mongodb');
330
} catch (Throwable) {
331
- // Ignore exceptions and return unknown version
+ return self::$version = 'error';
332
}
333
334
0 commit comments