Merge pull request #1330 from ayan4m1/feature/exception-logging

Simple query exception logging
This commit is contained in:
Dane Everitt 2018-09-18 21:44:29 -07:00 committed by GitHub
commit 29237fd1ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ class SettingsServiceProvider extends ServiceProvider
return [$setting->key => $setting->value];
})->toArray();
} 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;
}