summaryrefslogtreecommitdiff
path: root/src/node
diff options
context:
space:
mode:
authorwebzwo0i <webzwo0i@c3d2.de>2015-03-02 11:14:24 +0100
committerwebzwo0i <webzwo0i@c3d2.de>2015-03-02 11:14:24 +0100
commit0f82cd871141a4ca465e171dd4eb0fe6a73058f6 (patch)
tree4fa3a870d0cc2b9a6020dad6212770aafef66cad /src/node
parent683c9dfb7cc01ef46d6f783102c6acb4b32255dd (diff)
downloadetherpad-lite-0f82cd871141a4ca465e171dd4eb0fe6a73058f6.zip
print revision numbers - not changesets - in warn-log
Diffstat (limited to 'src/node')
-rw-r--r--src/node/handler/PadMessageHandler.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node/handler/PadMessageHandler.js b/src/node/handler/PadMessageHandler.js
index e585b652..ac8904f8 100644
--- a/src/node/handler/PadMessageHandler.js
+++ b/src/node/handler/PadMessageHandler.js
@@ -1635,7 +1635,8 @@ function composePadChangesets(padId, startNum, endNum, callback)
changeset = Changeset.compose(changeset, cs, pool);
}
} catch(e){
- console.warn("failed to compose cs in pad:",padId);
+ // r-1 indicates the rev that was build starting with startNum, applying startNum+1, +2, +3
+ console.warn("failed to compose cs in pad:",padId," startrev:",startNum," current rev:",r);
return callback(e);
}