diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-10-24 14:13:44 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-10-24 14:13:44 +0200 |
commit | 768a1b94576f6a9da284fdb69b9fb1d3354c8f5d (patch) | |
tree | d6509c2c36084799a546257d0b8946014eb49e13 /services/sync/modules/notifications.js | |
parent | 26412bcab4723d44bc0eb22d7c858e85a84910d5 (diff) | |
download | UXP-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/notifications.js')
-rw-r--r-- | services/sync/modules/notifications.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/sync/modules/notifications.js b/services/sync/modules/notifications.js index 72187a4ce..5a67a7414 100644 --- a/services/sync/modules/notifications.js +++ b/services/sync/modules/notifications.js @@ -119,7 +119,7 @@ this.NotificationButton = callback.apply(this, arguments); } catch (e) { let logger = Log.repository.getLogger("Sync.Notifications"); - logger.error("An exception occurred: " + Utils.exceptionStr(e)); + logger.error("An exception occurred: ", e); logger.info(Utils.stackTrace(e)); throw e; } |