diff options
author | Ajay Ramachandran <[email protected]> | 2019-07-25 16:55:07 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2019-07-25 16:55:07 -0400 |
commit | c8114e2d7ef6d9cfab904c75ebddec005959f4e7 (patch) | |
tree | 05b353828e1b6b993f4088eea0c7807e34605d13 | |
parent | 0f561d4a5a18fbef1fbadb1559fced1786d47622 (diff) | |
download | SponsorBlock-c8114e2d7ef6d9cfab904c75ebddec005959f4e7.tar.gz SponsorBlock-c8114e2d7ef6d9cfab904c75ebddec005959f4e7.zip |
Added better error display.
-rw-r--r-- | popup.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; } } |