This commit is contained in:
James Cole
2020-07-13 15:03:19 +02:00
parent 8219b51e47
commit 0b966ed541

View File

@@ -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()));
}