Cleaned up error logging
This commit is contained in:
parent
1677d9c08a
commit
104bae8187
@ -235,7 +235,7 @@ public class Storage {
|
|||||||
Object readObject = this.kryo.readObject(input, clazz);
|
Object readObject = this.kryo.readObject(input, clazz);
|
||||||
return (T) readObject;
|
return (T) readObject;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Error reading from '{}'! Perhaps the file is corrupt?", file.getAbsolutePath(), e);
|
logger.error("Error reading from '{}'! Perhaps the file is corrupt?", file.getAbsolutePath());
|
||||||
return null;
|
return null;
|
||||||
} finally {
|
} finally {
|
||||||
if (input != null) {
|
if (input != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user