mirror of https://github.com/keeweb/keeweb.git
parent
dcfa070176
commit
2693dd9366
|
@ -201,7 +201,8 @@ class StorageBase {
|
|||
});
|
||||
});
|
||||
});
|
||||
req.on('error', () => {
|
||||
req.on('error', e => {
|
||||
this.logger.error('HTTP error', opts.method, config.url, e);
|
||||
return config.error && config.error('network error', {});
|
||||
});
|
||||
req.on('timeout', () => {
|
||||
|
|
Loading…
Reference in New Issue