Add error log for #3522

This commit is contained in:
James Cole
2020-07-03 18:41:16 +02:00
parent 5a28479788
commit d33c87c565

View File

@@ -84,6 +84,7 @@ class FireflyConfig
try {
$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()));
return null;
}