Could you add option 'quiet' for tag in wt_config.xml?
This would work as 'false' or 'stack' but without alert message.
It will be usefull to hide all bugs when deploying in production.
Error messages should not be shown in production, and non-caught exceptions should not break application.
Workaround: use 'false' or 'stack' and replace built-in alert with noop:
alert = $.noop;
Updated by Boris Nagaev about 10 years ago
Browser-default handling behavior break an application in most cases. Non-caught exception causes page to hang and error message to occur in status line (at least, in IE).
Proposed behavior will catch all JS exceptions and
- do nothing (quiet)
- log them using console.log() function (console)