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/addonutils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/sync/modules/addonutils.js') diff --git a/services/sync/modules/addonutils.js b/services/sync/modules/addonutils.js index 11b6b0397..3332f4cfc 100644 --- a/services/sync/modules/addonutils.js +++ b/services/sync/modules/addonutils.js @@ -164,7 +164,7 @@ AddonUtilsInternal.prototype = { install.install(); } catch (ex) { - this._log.error("Error installing add-on: " + Utils.exceptionstr(ex)); + this._log.error("Error installing add-on: ", ex); cb(ex, null); } }.bind(this), options.requireSecureURI); -- cgit v1.2.3