mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
Add error log for #3522
This commit is contained in:
@@ -84,6 +84,7 @@ class FireflyConfig
|
|||||||
try {
|
try {
|
||||||
$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()));
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user