fix error on error
This commit is contained in:
parent
fc8e98173e
commit
dd8f8b426f
|
@ -73,7 +73,7 @@ module.exports.update = function (opts) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
req.on('error', function () {
|
req.on('error', function (err) {
|
||||||
reject(err);
|
reject(err);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue