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);
|
||||
return (T) readObject;
|
||||
} 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;
|
||||
} finally {
|
||||
if (input != null) {
|
||||
|
|
Loading…
Reference in New Issue