debugMode
settings, the error message is shown to the user or not. In case debugMode
is off, a generic message is shown: 'An error occured (debug information in server log files)'. When debugMode is on, the user can click on the error message and see the stack trace.