Improve logging for easier debugging

This commit is contained in:
0xboobface 2018-10-25 10:49:56 +02:00
parent 0a1cd11a64
commit 330bd29bbf
1 changed files with 3 additions and 1 deletions

View File

@ -239,7 +239,9 @@ public class LocalRecorder implements Recorder {
restart.add(m);
try {
finishRecording(d.getDirectory());
} catch(NullPointerException e) {}//fail silently
} catch(Exception e) {
LOG.error("Error while finishing recording for model {}", m.getName(), e);
}
}
}
for (Model m : restart) {