diff options
author | Ascrod <32915892+Ascrod@users.noreply.github.com> | 2019-04-08 21:06:29 -0400 |
---|---|---|
committer | Ascrod <32915892+Ascrod@users.noreply.github.com> | 2019-04-13 11:37:45 -0400 |
commit | 2d3b7717ae8ddfa5e6561cff5d6daa7f80a939e5 (patch) | |
tree | 8eb63f577991014f222446e117b300495cb15325 /services/sync | |
parent | 1d0af8b59102331cba100529e1697f91faf0c86b (diff) | |
download | uxp-2d3b7717ae8ddfa5e6561cff5d6daa7f80a939e5.tar.gz |
Issue #991 Part 6: Services
Diffstat (limited to 'services/sync')
-rw-r--r-- | services/sync/modules/status.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/services/sync/modules/status.js b/services/sync/modules/status.js index a5b8305b41..1233cbe143 100644 --- a/services/sync/modules/status.js +++ b/services/sync/modules/status.js @@ -125,12 +125,7 @@ this.Status = { resetSync: function resetSync() { // Logger setup. let logPref = PREFS_BRANCH + "log.logger.status"; - let logLevel = "Trace"; - try { - logLevel = Services.prefs.getCharPref(logPref); - } catch (ex) { - // Use default. - } + let logLevel = Services.prefs.getCharPref(logPref, "Trace"); this._log.level = Log.Level[logLevel]; this._log.info("Resetting Status."); |