mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
Don't stop skipping if channel id fetch fails
This commit is contained in:
parent
97e30e4001
commit
4182595436
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue