log query exception message during settings boot

This commit is contained in:
ayan4m1 2018-09-16 13:20:57 -04:00
parent eaabe5bd6a
commit 9f6875ed61

View file

@ -78,7 +78,7 @@ class SettingsServiceProvider extends ServiceProvider
return [$setting->key => $setting->value]; return [$setting->key => $setting->value];
})->toArray(); })->toArray();
} catch (QueryException $exception) { } catch (QueryException $exception) {
$log->notice('A query exception was encountered while trying to load settings from the database.'); $log->notice('A query exception was encountered while trying to load settings from the database: ' . $exception->getMessage());
return; return;
} }