fix error on error

This commit is contained in:
AJ ONeal 2015-11-12 11:10:57 +00:00
parent fc8e98173e
commit dd8f8b426f
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ module.exports.update = function (opts) {
});
});
req.on('error', function () {
req.on('error', function (err) {
reject(err);
});