mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Human readable database inconsistent error (#12950)
* Human readable database inconsistent error In case a db error causes an exception, check validate and show the db errors to the user in the webui. * only failed validations * fix style
This commit is contained in:
@@ -4,6 +4,10 @@ return [
|
||||
'database_connect' => [
|
||||
'title' => 'Error connecting to database',
|
||||
],
|
||||
'database_inconsistent' => [
|
||||
'title' => 'Database inconsistent',
|
||||
'header' => 'Database inconsistencies found during a database error, please fix to continue.',
|
||||
],
|
||||
'dusk_unsafe' => [
|
||||
'title' => 'It is unsafe to run Dusk in production',
|
||||
'message' => 'Run ":command" to remove Dusk or if you are a developer set the appropriate APP_ENV',
|
||||
|
Reference in New Issue
Block a user