aboutsummaryrefslogtreecommitdiffhomepage
path: root/popup.js
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2019-07-25 16:59:05 -0400
committerGitHub <[email protected]>2019-07-25 16:59:05 -0400
commitd9789c20d6d140f5fe4497f823eb42f336aec739 (patch)
treee39a2b2f24234bb64526a6eb6c836de122814192 /popup.js
parentc7da0f0c65b09b0a8b40ef19283a2df914181507 (diff)
parentc8114e2d7ef6d9cfab904c75ebddec005959f4e7 (diff)
downloadSponsorBlock-d9789c20d6d140f5fe4497f823eb42f336aec739.tar.gz
SponsorBlock-d9789c20d6d140f5fe4497f823eb42f336aec739.zip
Merge pull request #6 from ajayyy/experimentalv1.0.3
Added better error display
Diffstat (limited to 'popup.js')
-rw-r--r--popup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/popup.js b/popup.js
index 98c2024f..cec46eb9 100644
--- a/popup.js
+++ b/popup.js
@@ -352,7 +352,7 @@ function submitTimes() {
document.getElementById("submitTimesInfoMessage").innerText = "This has already been submitted before";
document.getElementById("submitTimesInfoMessageContainer").style.display = "unset";
} else {
- document.getElementById("submitTimesInfoMessage").innerText = "There was an error submitting your sponsor times, please try again later";
+ document.getElementById("submitTimesInfoMessage").innerText = "There was an error submitting your sponsor times, please try again later. Error code " + response.statusCode;
document.getElementById("submitTimesInfoMessageContainer").style.display = "unset";
}
}