1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +00:00

js: Change wording from "Exception caught" to "Uncaught exception" :^)

As Sergey pointed out, these exceptions are actually *not* caught!
This commit is contained in:
Andreas Kling 2020-04-02 15:25:08 +02:00
parent fbb16073d1
commit 57f72f2982

View file

@ -280,7 +280,7 @@ void repl(JS::Interpreter& interpreter)
auto result = interpreter.run(*program);
if (interpreter.exception()) {
printf("Exception caught: ");
printf("Uncaught exception: ");
print(interpreter.exception()->value());
interpreter.clear_exception();
} else {