mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-28 07:55:53 +00:00
Only catch Exceptions not Errors (#1186)
This commit is contained in:
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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user