console: don't swallow stack overflow
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
console.log
unintentionally swallows stack overflows from V8. MAX_STACK_MESSAGE
is never set as a
is not called. The original code was intentionally platform-agnostic, so this logic avoids platform-specific logic as well.