forked from Alex/Pterodactyl-Panel
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…
Reference in New Issue
Block a user