diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2018-10-04 09:04:00 -0700 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2018-10-09 22:45:39 -0700 |
commit | ef596cc5c68bd3cf1e0e532e57daaab48eaa5ff1 (patch) | |
tree | 097e7b2c87d5a1f8bb8abfaed7b54a7ce9b72229 /.clang-format | |
parent | 8c030d42110a5fccb832c54a2d6d6141a608b000 (diff) | |
download | gjs-ef596cc5c68bd3cf1e0e532e57daaab48eaa5ff1.tar.gz |
console: Refactor AutoReportException for non-object exceptions
Previously, in the interactive interpreter, throwing a non-object
exception (for example, `throw 'foo';`) would crash when trying to print
the exception value in the console.
This changes AutoReportException so that exceptions are handled better
when they are not objects.
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions