diff --git a/common/src/main/java/ctbrec/recorder/PlaylistGenerator.java b/common/src/main/java/ctbrec/recorder/PlaylistGenerator.java index 40b533f4..c55db001 100644 --- a/common/src/main/java/ctbrec/recorder/PlaylistGenerator.java +++ b/common/src/main/java/ctbrec/recorder/PlaylistGenerator.java @@ -68,6 +68,8 @@ public class PlaylistGenerator { } catch(Exception e) { LOG.warn("Couldn't determine duration for {}. Skipping this file.", file.getName()); file.renameTo(new File(directory, file.getName()+".corrupt")); + } catch(Throwable t) { + LOG.error("Unexpected error", t); } done++; double percentage = (double)done / (double) total;