Log warning on invalid file size instead of printing a stack trace

cusax-fix
Ingo Bauersachs 13 years ago
parent 9bfbf9a695
commit c170b9dd13

@ -264,7 +264,8 @@ else if (elementName.equals("file"))
}
catch (NumberFormatException e)
{
e.printStackTrace();
logger.warn("Received an invalid file size,"
+ " continuing with fileSize set to 0", e);
}
}

Loading…
Cancel
Save