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:
Tony Murray
2021-06-14 13:33:59 -05:00
committed by GitHub
parent 20c44b85c3
commit bd3da058d3
8 changed files with 122 additions and 9 deletions

View File

@@ -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',