We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1668e41 commit 698a6f3Copy full SHA for 698a6f3
src/invidious/routes/api/v1/channels.cr
@@ -97,7 +97,11 @@ module Invidious::Routes::API::V1::Channels
97
json.field "relatedChannels" do
98
json.array do
99
# Fetch related channels
100
- related_channels = fetch_related_channels(channel)
+ begin
101
+ related_channels = fetch_related_channels(channel)
102
+ rescue ex
103
+ related_channels = [] of AboutRelatedChannel
104
+ end
105
106
related_channels.each do |related_channel|
107
json.object do
0 commit comments