mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 10:16:49 +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 */
|
/** @var Configuration $config */
|
||||||
$config = Configuration::where('name', $name)->first(['id', 'name', 'data']);
|
$config = Configuration::where('name', $name)->first(['id', 'name', 'data']);
|
||||||
} catch (QueryException|Exception $e) {
|
} catch (QueryException|Exception $e) {
|
||||||
Log::error(sprintf('Query exception while polling for config var: %s', $e->getMessage()));
|
//Log::error(sprintf('Query exception while polling for config var: %s', $e->getMessage()));
|
||||||
Log::error($e->getTraceAsString());
|
//Log::error($e->getTraceAsString());
|
||||||
throw new FireflyException(sprintf('Could not poll the database: %s', $e->getMessage()));
|
throw new FireflyException(sprintf('Could not poll the database: %s', $e->getMessage()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user