Made changes to error reporting
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user