diff options
author | webzwo0i <webzwo0i@c3d2.de> | 2015-03-02 11:14:24 +0100 |
---|---|---|
committer | webzwo0i <webzwo0i@c3d2.de> | 2015-03-02 11:14:24 +0100 |
commit | 0f82cd871141a4ca465e171dd4eb0fe6a73058f6 (patch) | |
tree | 4fa3a870d0cc2b9a6020dad6212770aafef66cad /src/node | |
parent | 683c9dfb7cc01ef46d6f783102c6acb4b32255dd (diff) | |
download | etherpad-lite-0f82cd871141a4ca465e171dd4eb0fe6a73058f6.zip |
print revision numbers - not changesets - in warn-log
Diffstat (limited to 'src/node')
-rw-r--r-- | src/node/handler/PadMessageHandler.js | 3 |
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); } |