Skip to content
Snippets Groups Projects
Commit 3fdcf82b authored by Kevin Jahns's avatar Kevin Jahns
Browse files

fixed error description for observers that throw errors

parent 6dd33f4f
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ module.exports = function (Y /* : any*/) {
try {
this.eventListeners[i](event)
} catch (e) {
console.error('User events must not throw Errors!')
console.error('Your observer threw an error. This error was caught so that Yjs still can ensure data consistency! In order to debug this error you have to check "Pause On Caught Exceptions"', e)
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment