Skip to content

Commit 026eca4

Browse files
committed
better logging on validation failure
1 parent a4f941a commit 026eca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/model/mutable/MutationOp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ abstract class MutationOp extends HashedObject {
5959
}
6060

6161
if (!this.targetObject.supportsUndo() && this.causalOps !== undefined) {
62-
MutationOp.validationLog.debug('The target object for ' + this.hash() + ' does not support undo, yet this op has causalOps !== undefined');
62+
MutationOp.validationLog.debug('The target object for ' + this.hash() + ', a ' + this.getTargetObject().getClassName() + ', does not support undo, yet this op has causalOps !== undefined');
6363
return false;
6464
}
6565

0 commit comments

Comments
 (0)