Closed andreh12 closed 7 years ago
Just below there is i.printStackTrace();
- Is it not sufficient?
good point about the printStackTrace()
-- I actually only noticed after submitting the pull request.
The output of printStackTrace()
does not appear in my IDE when running the test, the output of the logger does on the other hand. So I would propose even to go one step further and remove i.printStackTrace()
in favour of adding the exception to the call of the logger function.
in order to avoid double printing I now removed the call to printStackTrace()
. For consistency I also applied this change to the method deserializeFlashlist()
in the same class.
added the exception to the call to the logger in class StructureSerializer. This helps to understand why a file can not be deserialized (e.g. unexpected values for a field).