diff --git a/src/libpoketube/libpoketube-core.js b/src/libpoketube/libpoketube-core.js index 1b8f833a..f7595469 100644 --- a/src/libpoketube/libpoketube-core.js +++ b/src/libpoketube/libpoketube-core.js @@ -155,10 +155,10 @@ class InnerTubePokeVidious { return this.cache[v].result; } else { - this.initError("Invalid video object (missing authorId)", vid); + this.initError(`Invalid video object (missing authorId) (ID: ${v})`, vid); } } catch (error) { - this.initError("Error getting video", error); + this.initError(`Error getting video ${v}`, error); } }