better error message
This commit is contained in:
parent
e7f01fa498
commit
1f6a9afae4
@ -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],
|
||||
|
Loading…
x
Reference in New Issue
Block a user