Only catch Exceptions not Errors (#1186)

This commit is contained in:
glowredman authored and GitHub committed 2025-12-21 14:14:50 +01:00
1 parent 941fc88484
commit a32f9ca244
20 files changed
+45 -39

No files matched your search

@@ -67,7 +67,7 @@ public class CommentDirectiveParser {
try {
actual = testCase.get();
} catch (Throwable e) {
} catch (Exception e) {
System.err.println("Test \"" + name + "\" failed with an exception:");
e.printStackTrace();