From cf15e65d9f997d67f3fcbb25a9c6bf1d45d42d6a Mon Sep 17 00:00:00 2001 From: Fijxu Date: Tue, 13 Oct 2026 04:21:31 -0300 Subject: [PATCH] remove leftover : in rescue --- src/invidious/routes/api/v1/videos.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/routes/api/v1/videos.cr b/src/invidious/routes/api/v1/videos.cr index f60a492a6..cdf292fb2 100644 --- a/src/invidious/routes/api/v1/videos.cr +++ b/src/invidious/routes/api/v1/videos.cr @@ -187,7 +187,7 @@ module Invidious::Routes::API::V1::Videos begin video = get_video(id, region: region) - rescue : NotFoundException + rescue NotFoundException haltf env, 404 rescue haltf env, 500