From 4182595436a98c838116b4aa34557689587cdc9b Mon Sep 17 00:00:00 2001 From: Ajay Date: Sat, 21 May 2022 16:54:02 -0400 Subject: [PATCH] Don't stop skipping if channel id fetch fails --- src/content.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/content.ts b/src/content.ts index 7029a89b..7788c0f4 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1150,14 +1150,12 @@ async function whitelistCheck() { channelIDInfo = { status: ChannelIDStatus.Found, id: getChannelID().match(/^\/?([^\s/]+)/)[0] - } + }; } catch (e) { channelIDInfo = { status: ChannelIDStatus.Failed, id: null - } - - return; + }; } //see if this is a whitelisted channel