Commit 8f8c512d by Kálmán Viktor

dashboard: use xhr.statusText instead of unknown error

parent 7dbb9c7e
...@@ -127,7 +127,7 @@ $(function() { ...@@ -127,7 +127,7 @@ $(function() {
if (xhr.status == 500) { if (xhr.status == 500) {
addMessage("500 Internal Server Error", "danger"); addMessage("500 Internal Server Error", "danger");
} else { } else {
addMessage(xhr.status + " Unknown Error", "danger"); addMessage(xhr.status + " " + xhr.statusText, "danger");
} }
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment