From 976fefbf893a06c9b87337d9c30c1fe4dd348f1a Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 2 Nov 2023 20:30:17 +0700 Subject: [PATCH] better fail to get TA info log message --- extension/script.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extension/script.js b/extension/script.js index 75bf59e..32bb357 100644 --- a/extension/script.js +++ b/extension/script.js @@ -391,7 +391,8 @@ function checkVideoExists(taButton) { } function handleError() { buttonError(taButton); - console.log('error'); + let videoId = taButton.dataset.id; + console.log(`error: failed to get info from TA for video ${videoId}`); } let videoId = taButton.dataset.id;