mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Add missing reject
This commit is contained in:
parent
fdbd47e0d6
commit
b61439b398
|
@ -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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user