1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 17:12:30 +01:00

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];
})->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;
}