From 768a1b94576f6a9da284fdb69b9fb1d3354c8f5d Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 24 Oct 2018 14:13:44 +0200 Subject: Pass exceptions directly to logger. --- services/sync/modules/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/sync/modules/util.js') diff --git a/services/sync/modules/util.js b/services/sync/modules/util.js index b063a29ac..12496d23a 100644 --- a/services/sync/modules/util.js +++ b/services/sync/modules/util.js @@ -77,7 +77,7 @@ this.Utils = { return func.call(thisArg); } catch(ex) { - thisArg._log.debug("Exception: " + Utils.exceptionStr(ex)); + thisArg._log.debug("Exception: ", ex); if (exceptionCallback) { return exceptionCallback.call(thisArg, ex); } -- cgit v1.2.3