From 3c32f49617df16ba557844a36871b381fdd5bca9 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Mon, 17 Aug 2026 02:58:57 -0400 Subject: [PATCH] remove useless begin..rescue --- src/invidious/channels/channels.cr | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/invidious/channels/channels.cr b/src/invidious/channels/channels.cr index c33157d2a..86feecfd5 100644 --- a/src/invidious/channels/channels.cr +++ b/src/invidious/channels/channels.cr @@ -159,12 +159,7 @@ def fetch_channel(ucid, pull_all_videos : Bool) LOGGER.debug("fetch_channel: #{ucid}") LOGGER.trace("fetch_channel: #{ucid} : pull_all_videos = #{pull_all_videos}") - # Deleted channels raise a `InfoException` exception. - begin - channel = get_about_info(ucid) - rescue ex - raise ex - end + channel = get_about_info(ucid) author = channel.author @@ -187,7 +182,7 @@ def fetch_channel(ucid, pull_all_videos : Bool) id: video.id, title: video.title, published: video.published, - updated: Time.utc, + updated: video.updated, ucid: video.ucid, author: video.author, length_seconds: video.length_seconds,