Closed oriori1703 closed 1 year ago
Fix an duplicate lines in multiline error messages.
for example:
throw Error("test1\ntest2\ntest3")
The code above would result in:
Error: test1 test2 test3 test2 test3 at <eval> (<input>:1) at eval (native)
I also removed the last line in the stack trace, so the now the same code would result in:
Error: test1 test2 test3 at <eval> (<input>:1)
LGTM
Fix an duplicate lines in multiline error messages.
for example:
The code above would result in:
I also removed the last line in the stack trace, so the now the same code would result in: