From 1f6a9afae4ffbe05064c7a1630df7b0d0750d1e1 Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Sun, 15 Feb 2015 15:23:43 +0100 Subject: better error message --- src/static/js/Changeset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/static/js') 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], -- cgit v1.2.3