chore(world): improve logging for BlockManager
Improves the logging in `BlockManager` by printing out the (raw) block
family names in case it could not be parsed or processed correctly.
Also, adds a logging statement to a code path which was previously
silently ignored.
@@ -104,9 +104,11 @@ public void initialise(List<String> registeredBlockFamilies,
}
}
registerFamily(family.get());
+ } else {
+ logger.warn("No block family found for '{}', skipping.", rawFamilyUri);
}
} catch (BlockUriParseException e) {
- logger.error("Failed to parse block family, skipping", e);
+ logger.error("Failed to parse block family '{}', skipping", rawFamilyUri, e);
}
}
}
