mirror of
https://github.com/gojp/goreportcard.git
synced 2026-01-29 06:49:05 +08:00
display error text in frontend
This commit is contained in:
@@ -395,7 +395,7 @@
|
||||
data: data,
|
||||
dataType: "json"
|
||||
}).fail(function(xhr, status, err){;
|
||||
alertMessage("<strong>Oops!</strong> There was an error processing your request: " + err);
|
||||
alertMessage("<strong>Oops!</strong> There was an error processing your request: " + xhr.responseText);
|
||||
}).done(function(data, textStatus, jqXHR){
|
||||
hideGopher();
|
||||
populateResults(data);
|
||||
|
||||
Reference in New Issue
Block a user