diff --git a/src/main/java/me/kavin/piped/utils/ResponseHelper.java b/src/main/java/me/kavin/piped/utils/ResponseHelper.java index d634796..1f26898 100644 --- a/src/main/java/me/kavin/piped/utils/ResponseHelper.java +++ b/src/main/java/me/kavin/piped/utils/ResponseHelper.java @@ -608,7 +608,7 @@ public class ResponseHelper { ? item.getUploadDate().offsetDateTime().toInstant().toEpochMilli() : System.currentTimeMillis(); if ((System.currentTimeMillis() - time) < TimeUnit.DAYS.toMillis(10)) - handleNewVideo(item.getUrl(), time, channel, s); + handleNewVideo(item.getUrl(), time, channel, sess); } } @@ -813,8 +813,8 @@ public class ResponseHelper { public static void handleNewVideo(String url, long time, me.kavin.piped.utils.obj.db.Channel channel, Session s) { try { handleNewVideo(StreamInfo.getInfo(url), time, channel, s); - } catch (IOException | ExtractionException e) { - ExceptionUtils.rethrow(e); + } catch (Exception e) { + e.printStackTrace(); } }