Skip to content

Commit

Permalink
Added better error display.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayyy committed Jul 25, 2019
1 parent 0f561d4 commit c8114e2
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 c8114e2

Please sign in to comment.