Fix display of HTTP error messages for code redemption
This commit is contained in:
parent
29a5a4585f
commit
a448912500
@ -57,7 +57,7 @@ window.setupRedeem = function() {
|
|||||||
} else {
|
} else {
|
||||||
extra = "The server indicated an error.";
|
extra = "The server indicated an error.";
|
||||||
}
|
}
|
||||||
extra += "\n" + 'Response: HTTP <a href="http://httpstatus.es/' + jq.status + '" alt="HTTP ' + jq.status + '"target="_blank">' + jq.status + "</a>.";
|
extra += "\n" + 'Response: HTTP <a href="http://httpstatus.es/' + response.status + '" alt="HTTP ' + response.status + '"target="_blank">' + response.status + "</a>.";
|
||||||
} else {
|
} else {
|
||||||
extra = "No status code was returned.";
|
extra = "No status code was returned.";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user