forked from External/mage
Better logging?
This commit is contained in:
parent
ad0dde4501
commit
aa033617a2
2 changed files with 10 additions and 2 deletions
|
|
@ -110,7 +110,8 @@ public class AbilitiesImpl<T extends Ability> extends ArrayList<T> implements Ab
|
|||
rules.add(Character.toUpperCase(rule.charAt(0)) + rule.substring(1));
|
||||
}
|
||||
} else { // logging so we can still can be made aware of rule problems a card has
|
||||
logger.fatal("Error in rule text generation of " + source + ": Create a bug report or fix the source code");
|
||||
String cardName = ((SpellAbility) ability).getCardName();
|
||||
logger.fatal("Error in rule text generation of " + cardName + ": Create a bug report or fix the source code");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue