summaryrefslogtreecommitdiffstats
path: root/application/basilisk/components/feeds/FeedWriter.js
diff options
context:
space:
mode:
Diffstat (limited to 'application/basilisk/components/feeds/FeedWriter.js')
-rw-r--r--application/basilisk/components/feeds/FeedWriter.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/application/basilisk/components/feeds/FeedWriter.js b/application/basilisk/components/feeds/FeedWriter.js
index 20f1399b0..ceb2a7e2f 100644
--- a/application/basilisk/components/feeds/FeedWriter.js
+++ b/application/basilisk/components/feeds/FeedWriter.js
@@ -19,12 +19,7 @@ function LOG(str) {
let prefB = Cc["@mozilla.org/preferences-service;1"].
getService(Ci.nsIPrefBranch);
- let shouldLog = false;
- try {
- shouldLog = prefB.getBoolPref("feeds.log");
- }
- catch (ex) {
- }
+ let shouldLog = prefB.getBoolPref("feeds.log", false);
if (shouldLog)
dump("*** Feeds: " + str + "\n");