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:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user