Commit 573b4c93 authored by Rob Schnautz's avatar Rob Schnautz

Add logging to indicate which card is causing Forge to hang.

parent 7dc65735
......@@ -414,6 +414,7 @@ public class CardStorageReader {
} catch (final FileNotFoundException ex) {
throw new RuntimeException("CardReader : run error -- file not found: " + file.getPath(), ex);
} catch (final Exception ex) {
System.out.println("Error loading cardscript " + file.getName() + ". Please close Forge and resolve this.");
throw ex;
} finally {
try {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment