From 057cb2690f5d312aec2ca9f05b41dad61e4f10f3 Mon Sep 17 00:00:00 2001 From: Dawid Kisielewski Date: Tue, 10 Oct 2023 18:09:47 +0200 Subject: [PATCH] Change error message --- lib/client/doc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/doc.js b/lib/client/doc.js index 14c25bb4b..5fbd8b7cc 100644 --- a/lib/client/doc.js +++ b/lib/client/doc.js @@ -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' ); }