better error reporting when the operational transform fails to parse JSON
This commit is contained in:
parent
0ff4906f0e
commit
4f3fcb08a4
@ -12,7 +12,12 @@ define([
|
||||
JSON.parse(text3);
|
||||
return resultOp;
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
console.error(e);
|
||||
console.log({
|
||||
resultOp: resultOp,
|
||||
text2: text2,
|
||||
text3: text3
|
||||
});
|
||||
}
|
||||
|
||||
// returning **null** breaks out of the loop
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user