From 9f6875ed619b26eddca0fa4a085eef1f0caca8b0 Mon Sep 17 00:00:00 2001 From: ayan4m1 Date: Sun, 16 Sep 2018 13:20:57 -0400 Subject: [PATCH] log query exception message during settings boot --- app/Providers/SettingsServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Providers/SettingsServiceProvider.php b/app/Providers/SettingsServiceProvider.php index 48861db4b..2cc26e663 100644 --- a/app/Providers/SettingsServiceProvider.php +++ b/app/Providers/SettingsServiceProvider.php @@ -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; }