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/engines/passwords.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/engines/passwords.js')
-rw-r--r-- | services/sync/modules/engines/passwords.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/services/sync/modules/engines/passwords.js b/services/sync/modules/engines/passwords.js index 2837b6a10..0ccd2e7b0 100644 --- a/services/sync/modules/engines/passwords.js +++ b/services/sync/modules/engines/passwords.js @@ -67,7 +67,7 @@ PasswordEngine.prototype = { Svc.Prefs.set("deletePwdFxA", true); Svc.Prefs.reset("deletePwd"); // The old prefname we previously used. } catch (ex) { - this._log.debug("Password deletes failed: " + Utils.exceptionStr(ex)); + this._log.debug("Password deletes failed: ", ex); } } }, @@ -213,7 +213,7 @@ PasswordStore.prototype = { Services.logins.addLogin(login); } catch(ex) { this._log.debug("Adding record " + record.id + - " resulted in exception " + Utils.exceptionStr(ex)); + " resulted in exception ", ex); } }, @@ -246,8 +246,7 @@ PasswordStore.prototype = { Services.logins.modifyLogin(loginItem, newinfo); } catch(ex) { this._log.debug("Modifying record " + record.id + - " resulted in exception " + Utils.exceptionStr(ex) + - ". Not modifying."); + " resulted in exception. Not modifying.", ex); } }, |