doassert() should ensure its Error object's message is one line

XMLWordPrintableJSON

    • Fully Compatible
    • TIG 2017-03-06
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Robert Guo (Inactive)
            Reporter:
            Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: