Is there a way to change the message for users? When the DB fails - I’d rather tell them to contact their system admin and then return them to the screen they were just on. I have put a hard stop on specific information on DB-side instead of coding it into SuiteCRM.
It looks like the “ERR_DB_FAIL” label can be found in: /include/language/en_us.lang.php
Along with 2 other “ERR_DB_xxxx” labels, roughly around line ~1431
You can safely customize these strings in the Custom Language file, found at: /custom/include/language/en_us.lang.php
(If this file does not exist, feel free to create it)