summaryrefslogtreecommitdiffstats
path: root/toolkit/components/telemetry/UITelemetry.jsm
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/telemetry/UITelemetry.jsm')
-rw-r--r--toolkit/components/telemetry/UITelemetry.jsm6
1 files changed, 1 insertions, 5 deletions
diff --git a/toolkit/components/telemetry/UITelemetry.jsm b/toolkit/components/telemetry/UITelemetry.jsm
index bd7a34b72..231b52e23 100644
--- a/toolkit/components/telemetry/UITelemetry.jsm
+++ b/toolkit/components/telemetry/UITelemetry.jsm
@@ -36,11 +36,7 @@ this.UITelemetry = {
Services.obs.addObserver(this, "profile-before-change", false);
// Pick up the current value.
- try {
- this._enabled = Services.prefs.getBoolPref(PREF_ENABLED);
- } catch (e) {
- this._enabled = false;
- }
+ this._enabled = Services.prefs.getBoolPref(PREF_ENABLED, false);
return this._enabled;
},