From 3fdcf82bccd2c809d5fade3850b35a8ea5aff053 Mon Sep 17 00:00:00 2001 From: Kevin Jahns <kevin.jahns@rwth-aachen.de> Date: Sat, 29 Oct 2016 16:55:16 +0200 Subject: [PATCH] fixed error description for observers that throw errors --- src/Utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils.js b/src/Utils.js index 6243cc07..de5b3db9 100644 --- a/src/Utils.js +++ b/src/Utils.js @@ -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) } } } -- GitLab