catch exception during loading of card abilities so we can report the card name
parent
043f0dbf98
commit
5430402d17
|
@ -172,7 +172,11 @@ public class CardDefinitions {
|
|||
executor.execute(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
cdef.loadAbilities();
|
||||
try {
|
||||
cdef.loadAbilities();
|
||||
} catch (Throwable cause) {
|
||||
throw new RuntimeException("Unable to load " + cdef, cause);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue