mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +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:
parent
fbb16073d1
commit
57f72f2982
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue