Skip to content

Commit cb3c8b3

Browse files
committed
Fatal errors now kill processing
1 parent 8dfd6b0 commit cb3c8b3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/src/processing/app/Base.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2060,6 +2060,9 @@ static private void showBadnessTrace(String title, String message,
20602060
fatal ?
20612061
JOptionPane.ERROR_MESSAGE :
20622062
JOptionPane.WARNING_MESSAGE);
2063+
2064+
if (fatal)
2065+
System.exit(1);
20632066
}
20642067
}
20652068

0 commit comments

Comments
 (0)