Skip to content

Commit

Permalink
Log full XHR in AIM when load fails
Browse files Browse the repository at this point in the history
  • Loading branch information
j-f1 committed May 14, 2017
1 parent c57bb5a commit 7e91d89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoflagging/autoflagging.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
}
})
.fail(function (xhr) {
debug("Failed to load reasons: " + xhr.statusText);
debug("Failed to load reasons:", xhr);
});
}
};
Expand Down Expand Up @@ -381,7 +381,7 @@
autoflagging.callAPI(urls, ++page);
}
}).fail(function (xhr) {
autoflagging.notify("Failed to load data: " + xhr.statusText);
autoflagging.notify("Failed to load data:", xhr);
});
};

Expand Down

0 comments on commit 7e91d89

Please sign in to comment.