mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-17 21:18:47 +03:00
Print video ID in newleaf errors
This commit is contained in:
@@ -29,7 +29,7 @@ export class YouTubeAPI {
|
||||
if (result.ok) {
|
||||
const data = await result.json();
|
||||
if (data.error) {
|
||||
Logger.warn("NewLeaf API Error: " + data.error)
|
||||
Logger.warn("NewLeaf API Error for " + videoID + ": " + data.error)
|
||||
return { err: data.error, data: null };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user