1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

Support V2 registration

This commit is contained in:
David Baker
2015-07-13 19:15:10 +01:00
parent 9f930f7d0d
commit 864fdcb925
2 changed files with 15 additions and 15 deletions

View File

@@ -352,6 +352,7 @@ var requestCallback = function(defer, userDefinedCallback, onlyData) {
return function(err, response, body) {
if (!err && response.statusCode >= 400) {
err = new module.exports.MatrixError(body);
err.httpStatus = response.statusCode;
}
if (err) {