mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 05:57:07 +03:00
Fix skip segments error message triggering when it shouldn't
This commit is contained in:
@@ -92,8 +92,9 @@ async function fetchSegmentsForVideo(videoID: VideoID): Promise<SegmentResponse>
|
|||||||
// Setup with null data
|
// Setup with null data
|
||||||
segmentDataCache.setupCache(videoID);
|
segmentDataCache.setupCache(videoID);
|
||||||
}
|
}
|
||||||
|
} else if (response.status !== 404) {
|
||||||
|
logRequest(response, "SB", "skip segments");
|
||||||
}
|
}
|
||||||
if (response.status !== 404) logRequest(response, "SB", "skip segments");
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
segments: null,
|
segments: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user