diff --git a/lib/dao.js b/lib/dao.js index 3bf3214c..2c679452 100644 --- a/lib/dao.js +++ b/lib/dao.js @@ -2449,6 +2449,7 @@ DataAccessObject.prototype.updateAttributes = function updateAttributes(data, op context.data = typedData; function updateAttributesCallback(err) { + if (err) return cb(err); var ctx = { Model: Model, data: context.data,