From 57f72f29827b1842c4130611a724971c362de03f Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 2 Apr 2020 15:25:08 +0200 Subject: [PATCH] js: Change wording from "Exception caught" to "Uncaught exception" :^) As Sergey pointed out, these exceptions are actually *not* caught! --- Userland/js.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/js.cpp b/Userland/js.cpp index 44b3e3a034..089ee322a6 100644 --- a/Userland/js.cpp +++ b/Userland/js.cpp @@ -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 {