Made changes to error reporting

This commit is contained in:
Andrew Henry
2015-11-04 22:07:26 -08:00
101 changed files with 7959 additions and 3303 deletions

View File

@@ -200,7 +200,7 @@ define(
this.buildCopyPlan(domainObject, parent, deferred.notify)
.then(this.persistObjects(deferred.notify))
.then(this.addClonesToParent(parent, deferred.notify))
.then(deferred.resolve);
.then(deferred.resolve, deferred.reject);
return deferred.promise;
} else {
throw new Error(