• Philip Chimento's avatar
    console: Refactor AutoReportException for non-object exceptions · 0decd7ed
    Philip Chimento authored
    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.