summaryrefslogtreecommitdiffstats
path: root/services/sync/modules/policies.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-10-24 14:13:44 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-10-24 14:13:44 +0200
commit768a1b94576f6a9da284fdb69b9fb1d3354c8f5d (patch)
treed6509c2c36084799a546257d0b8946014eb49e13 /services/sync/modules/policies.js
parent26412bcab4723d44bc0eb22d7c858e85a84910d5 (diff)
downloadUXP-768a1b94576f6a9da284fdb69b9fb1d3354c8f5d.tar
UXP-768a1b94576f6a9da284fdb69b9fb1d3354c8f5d.tar.gz
UXP-768a1b94576f6a9da284fdb69b9fb1d3354c8f5d.tar.lz
UXP-768a1b94576f6a9da284fdb69b9fb1d3354c8f5d.tar.xz
UXP-768a1b94576f6a9da284fdb69b9fb1d3354c8f5d.zip
Pass exceptions directly to logger.
Diffstat (limited to 'services/sync/modules/policies.js')
-rw-r--r--services/sync/modules/policies.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/sync/modules/policies.js b/services/sync/modules/policies.js
index 38f118d3f..7a6c70445 100644
--- a/services/sync/modules/policies.js
+++ b/services/sync/modules/policies.js
@@ -599,7 +599,7 @@ ErrorHandler.prototype = {
this.checkServerError(exception);
Status.engines = [engine_name, exception.failureCode || ENGINE_UNKNOWN_FAIL];
- this._log.debug(engine_name + " failed: " + Utils.exceptionStr(exception));
+ this._log.debug(engine_name + " failed: ", exception);
break;
case "weave:service:login:error":
this.resetFileLog(this._logManager.REASON_ERROR);