diff --git a/lib/http-api.js b/lib/http-api.js index 675749250..2ced9bb79 100644 --- a/lib/http-api.js +++ b/lib/http-api.js @@ -278,7 +278,6 @@ module.exports.MatrixHttpApi.prototype = { if (err.errcode == 'M_UNKNOWN_TOKEN') { self.event_emitter.emit("Session.logged_out"); } - throw err; }); // return the original promise, otherwise tests break due to it having to // go around the event loop one more time to process the result of the request