Skip to content

Commit 38224ce

Browse files
committed
better error handling
1 parent ad1da70 commit 38224ce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/htmlunit/javascript/JavaScriptEngine.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -987,6 +987,9 @@ private void doProcessPostponedActions() {
987987
}
988988
}
989989
}
990+
catch (final RuntimeException e) {
991+
throw e;
992+
}
990993
catch (final Exception e) {
991994
throw JavaScriptEngine.throwAsScriptRuntimeEx(e);
992995
}

0 commit comments

Comments
 (0)