Skip to content

Commit

Permalink
Added status code in the exception dialog, fixes #549
Browse files Browse the repository at this point in the history
  • Loading branch information
Felicitus committed Jan 3, 2016
1 parent a7a0696 commit 687726e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ Ext.define('PartKeepr.ExceptionWindow', {
this.detailDiv.update("");
}


if (exception.getTrace()) {
var traceData = this.convertTraceToTree(exception.getTrace());

Expand Down Expand Up @@ -196,6 +197,9 @@ Ext.define('PartKeepr.ExceptionWindow', {

this.requestDetails.setValue(nl2br(requestData));

fullDetails += "\n\n" + i18n("Response Status Code") + "\n" + separator + "\n";
fullDetails += response.status;

fullDetails += "\n\n" + i18n("Response") + "\n" + separator + "\n";
fullDetails += response.responseText;

Expand Down Expand Up @@ -296,4 +300,4 @@ Ext.define('PartKeepr.ExceptionWindow', {
}
}
}
});
});

0 comments on commit 687726e

Please sign in to comment.