Skip to content

Commit

Permalink
Change error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawidpol committed Oct 10, 2023
1 parent 16794f9 commit 057cb26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client/doc.js
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ Doc.prototype._hardRollback = function(err) {
if (!pendingOps.length) return;
err = new ShareDBError(
ERROR_CODE.ERR_PENDING_OP_REMOVED_BY_OP_SUBMIT_REJECTED,
'Pending op are present when doing rollback of invertible operation'
'Discarding pending op because of hard rollback during ERR_OP_SUBMIT_REJECTED'
);
}

Expand Down

0 comments on commit 057cb26

Please sign in to comment.