webclient icon indicating copy to clipboard operation
webclient copied to clipboard

Caught errors are shown in the console

Open TomZelazny opened this issue 8 years ago • 2 comments

I seems errors are not caught and are thrown all the way into the browser console, i.e.:

Uncaught ParseException: '(' is an illegal character in word

attached is an image demonstrating the problem. image

TomZelazny avatar Feb 15 '17 17:02 TomZelazny

This is intentional. The char ( is not allowed when invoking commands as it cannot be within the syntax of a command, where these chars have special meaning. The exception manifest as the error message seen on the terminal, following the execution. The console shows the exception details for debug.

creativeChips avatar Feb 18 '17 20:02 creativeChips

I'm not sure whether or not those errors need to be shown in the console. As @creativeChips said, it can be useful to have them when debugging but there's currently no way of opting out of the "dev mode".

Reopening and marking as discussion.

nitzantomer avatar Feb 18 '17 22:02 nitzantomer