mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 06:54:46 +02:00
Merge pull request #1330 from ayan4m1/feature/exception-logging
Simple query exception logging
This commit is contained in:
commit
29237fd1ef
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user