vm: don't print out arrow message for custom error
Checklist
-
make -j4 test
(UNIX) orvcbuild test nosign
(Windows) passes -
a test and/or benchmark is included -
the commit message follows commit guidelines
Affected core subsystem(s)
vm
Description of change
In AppendExceptionLine()
, which is used both by the vm
module and the uncaught exception handler, don’t print anything
to stderr when called from the vm
module, even if the
thrown object is not a native error instance.