mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-08-30 05:40:34 +00:00
Make metalist injection error more user friendly
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ public class MetaListLikePreprocessor extends MetaPreprocessor<Meta> {
|
|||||||
|
|
||||||
if(!(metaValue instanceof List)) {
|
if(!(metaValue instanceof List)) {
|
||||||
throw new LoadException(
|
throw new LoadException(
|
||||||
"MetaList/Set injection candidate must be list, is type " + metaValue.getClass().getCanonicalName(),
|
"Meta list / set injection (via <<) must point to a list. '" + meta + "' points to type " + metaValue.getClass().getCanonicalName(),
|
||||||
depthTracker);
|
depthTracker);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user