This module decorates uncaught exceptions of the user code with a full stack-trace and sends error reports to the Prolog console. The behaviour can be controlled by
- After disabling the
http(error)debug channal, errors are only sent to the client. See nodebug/1 and debug/1.
- set_setting(http:client_backtrace, false)
- Stop sending stack traces to the client. Note that sending the stack trace to the client simplifies debugging, it also provides clues to hackers on how to compromise your site. The more information you give them, the easier it is to break into your server! See set_setting/2 and set_setting_default/2.