better fail to get TA info log message

This commit is contained in:
Simon 2023-11-02 20:30:17 +07:00
parent 35186c09ca
commit 976fefbf89
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -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;