summaryrefslogtreecommitdiffstats
path: root/services/common
diff options
context:
space:
mode:
authorAscrod <32915892+Ascrod@users.noreply.github.com>2019-04-08 21:06:29 -0400
committerAscrod <32915892+Ascrod@users.noreply.github.com>2019-04-13 11:37:45 -0400
commit2d3b7717ae8ddfa5e6561cff5d6daa7f80a939e5 (patch)
tree8eb63f577991014f222446e117b300495cb15325 /services/common
parent1d0af8b59102331cba100529e1697f91faf0c86b (diff)
downloadUXP-2d3b7717ae8ddfa5e6561cff5d6daa7f80a939e5.tar
UXP-2d3b7717ae8ddfa5e6561cff5d6daa7f80a939e5.tar.gz
UXP-2d3b7717ae8ddfa5e6561cff5d6daa7f80a939e5.tar.lz
UXP-2d3b7717ae8ddfa5e6561cff5d6daa7f80a939e5.tar.xz
UXP-2d3b7717ae8ddfa5e6561cff5d6daa7f80a939e5.zip
Issue #991 Part 6: Services
Diffstat (limited to 'services/common')
-rw-r--r--services/common/tokenserverclient.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/services/common/tokenserverclient.js b/services/common/tokenserverclient.js
index b220ab586..ca40f7d93 100644
--- a/services/common/tokenserverclient.js
+++ b/services/common/tokenserverclient.js
@@ -149,10 +149,7 @@ TokenServerClientServerError.prototype._toStringFields = function() {
*/
this.TokenServerClient = function TokenServerClient() {
this._log = Log.repository.getLogger("Common.TokenServerClient");
- let level = "Debug";
- try {
- level = Services.prefs.getCharPref(PREF_LOG_LEVEL);
- } catch (ex) {}
+ let level = Services.prefs.getCharPref(PREF_LOG_LEVEL, "Debug");
this._log.level = Log.Level[level];
}
TokenServerClient.prototype = {