Better money debug
This commit is contained in:
parent
7b5b51c992
commit
173852eb00
@ -27,7 +27,7 @@ public class Money
|
|||||||
// ... but if something is supplied we must manage to extract an id.
|
// ... but if something is supplied we must manage to extract an id.
|
||||||
// NOTE: This ID is the name for now, later all money plugins will probably support UUIDs.
|
// NOTE: This ID is the name for now, later all money plugins will probably support UUIDs.
|
||||||
String ret = MUtil.extract(String.class, "accountId", account);
|
String ret = MUtil.extract(String.class, "accountId", account);
|
||||||
if (ret == null) throw new IllegalArgumentException("extraction of accountId from object failed");
|
if (ret == null) throw new IllegalArgumentException("extraction of accountId from object failed: " + account.toString());
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user