Skip to content

Commit

Permalink
Merge pull request #6 from ajayyy/experimental
Browse files Browse the repository at this point in the history
Added better error display
  • Loading branch information
ajayyy committed Jul 25, 2019
2 parents c7da0f0 + c8114e2 commit d9789c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
}
Expand Down

0 comments on commit d9789c2

Please sign in to comment.