mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Include entry when logging exceptions from block mappings
This commit is contained in:
parent
cbe7256125
commit
7bc0bde379
1 changed files with 3 additions and 2 deletions
|
@ -97,8 +97,9 @@ public class MappingsReader_v1 extends MappingsReader {
|
|||
String identifier = Identifier.formalize(entry.getKey());
|
||||
CustomBlockMapping customBlockMapping = this.readBlockMappingEntry(identifier, entry.getValue());
|
||||
consumer.accept(identifier, customBlockMapping);
|
||||
} catch (InvalidCustomMappingsFileException e) {
|
||||
GeyserImpl.getInstance().getLogger().error("Error in registering blocks for custom mapping file: " + file.toString(), e);
|
||||
} catch (Exception e) {
|
||||
GeyserImpl.getInstance().getLogger().error("Error in registering blocks for custom mapping file: " + file.toString());
|
||||
GeyserImpl.getInstance().getLogger().error("due to entry: " + entry, e);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue