Added additional generic Exception catch clause to ensure that unexpected parsing errors do not cause the entire server to crash.

This commit is contained in:
Christian 'ketura' McCarty
2021-01-31 20:38:16 -06:00
parent 247460c5bb
commit 01c6b90a30

View File

@@ -117,6 +117,9 @@ public class LotroCardBlueprintLibrary {
} catch (ParseException exp) {
logger.error("Failed to parse file " + file.getAbsolutePath(), exp);
}
catch (Exception exp) {
logger.error("Unexpected error while parsing file " + file.getAbsolutePath(), exp);
}
logger.debug("Loaded card file " + file.getName());
}