Add missing reject

This commit is contained in:
Matthias 2022-11-30 07:05:04 +01:00
parent fdbd47e0d6
commit b61439b398

View File

@ -171,8 +171,8 @@ export class UserService {
this.logout(); this.logout();
} else if (err.response && (err.response.status === 500 || err.response.status === 404)) { } else if (err.response && (err.response.status === 500 || err.response.status === 404)) {
console.log('Bot seems to be offline... - retrying later'); console.log('Bot seems to be offline... - retrying later');
reject(err);
} }
reject(err);
}); });
}); });
} }