mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 12:12:18 +00:00
Less verbose error logging for https://github.com/firefly-iii/firefly-iii/issues/3559
This commit is contained in:
@@ -87,8 +87,8 @@ class FireflyConfig
|
||||
/** @var Configuration $config */
|
||||
$config = Configuration::where('name', $name)->first(['id', 'name', 'data']);
|
||||
} catch (QueryException|Exception $e) {
|
||||
Log::error(sprintf('Query exception while polling for config var: %s', $e->getMessage()));
|
||||
Log::error($e->getTraceAsString());
|
||||
//Log::error(sprintf('Query exception while polling for config var: %s', $e->getMessage()));
|
||||
//Log::error($e->getTraceAsString());
|
||||
throw new FireflyException(sprintf('Could not poll the database: %s', $e->getMessage()));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user