mirror of
https://github.com/moparisthebest/mail
synced 2024-11-23 01:12:19 -05:00
fix imap timeout (again) to continue with login callback
This commit is contained in:
parent
bb76252db7
commit
d37b9ca5e3
@ -120,14 +120,7 @@ define(function(require) {
|
||||
console.log('IMAP error.', err);
|
||||
console.log('IMAP reconnecting...');
|
||||
// re-init client modules on error
|
||||
self.onConnect(function(err) {
|
||||
if (err) {
|
||||
console.error('IMAP reconnect failed!', err);
|
||||
return;
|
||||
}
|
||||
|
||||
console.log('IMAP reconnect successful.');
|
||||
});
|
||||
self.onConnect(callback);
|
||||
};
|
||||
|
||||
// connect to clients
|
||||
|
Loading…
Reference in New Issue
Block a user