diff --git a/common/src/main/java/ctbrec/recorder/download/hls/SegmentDownload.java b/common/src/main/java/ctbrec/recorder/download/hls/SegmentDownload.java index 74d0bb93..6cb82d23 100644 --- a/common/src/main/java/ctbrec/recorder/download/hls/SegmentDownload.java +++ b/common/src/main/java/ctbrec/recorder/download/hls/SegmentDownload.java @@ -69,11 +69,11 @@ public class SegmentDownload implements Callable { break; } catch (Exception e) { if (tries == 3) { - LOG.warn("Error while downloading segment for {}. Segment {} finally failed: {}", model, url.getFile(), e.getMessage()); + LOG.warn("Error while downloading segment for {}. Segment {} finally failed: {}", model, url, e.getMessage()); failed = true; exception = e; } else { - LOG.debug("Error while downloading segment {} for {} on try {} - {}", url.getFile(), model, tries, e.getMessage()); + LOG.debug("Error while downloading segment {} for {} on try {} - {}", url, model, tries, e.getMessage()); } } }