-
Type: Improvement
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.5.3
-
Component/s: JavaScript, Shell, Testing Infrastructure
-
Labels:None
-
Fully Compatible
-
TIG 2017-03-06
When an exception is thrown, the shell would print it in the following format:
2017-02-16T23:02:31.486+0000 E QUERY [thread1] Error: [some error message]
The error message can span multiple lines, making parsing them difficult. It would be nice if doassert() could remove the newlines in the Error object before throwing it but after printing the message explicitly. This way there will still be a human readable multiline version of the message.