diff options
author | webzwo0i <webzwo0i@c3d2.de> | 2015-02-15 15:23:43 +0100 |
---|---|---|
committer | webzwo0i <webzwo0i@c3d2.de> | 2015-02-15 15:23:43 +0100 |
commit | 1f6a9afae4ffbe05064c7a1630df7b0d0750d1e1 (patch) | |
tree | 2d14f3a3ec813592652e45b66b7c22b2afb82016 /src/static | |
parent | e7f01fa49821020c606ccdd1237d7f6de559e7c0 (diff) | |
download | etherpad-lite-1f6a9afae4ffbe05064c7a1630df7b0d0750d1e1.zip |
better error message
Diffstat (limited to 'src/static')
-rw-r--r-- | src/static/js/Changeset.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/Changeset.js b/src/static/js/Changeset.js index f0c7d8b4..4d0f76a9 100644 --- a/src/static/js/Changeset.js +++ b/src/static/js/Changeset.js @@ -1620,7 +1620,7 @@ exports.makeAText = function (text, attribs) { exports.applyToAText = function (cs, atext, pool) { var text = exports.applyToText(cs, atext.text) if(text[1]){ - throw new Error() + throw new Error("newline count is wrong, cs:",cs," and text:",atext) } return { text: text[0], |