From 5f548d297eb0ef37806e331cafd691034bfd99fb Mon Sep 17 00:00:00 2001 From: roytam1 Date: Sat, 19 Sep 2020 07:06:14 +0800 Subject: [PATCH] fix error flow in preferences --- application/palemoon/components/preferences/advanced.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/palemoon/components/preferences/advanced.js b/application/palemoon/components/preferences/advanced.js index 59c12890a3..55f1f32cf6 100644 --- a/application/palemoon/components/preferences/advanced.js +++ b/application/palemoon/components/preferences/advanced.js @@ -755,7 +755,7 @@ var gAdvancedPane = { #endif shellSvc.setDefaultBrowser(claimAllTypes, false); } catch (ex) { - Cu.reportError(ex); + Components.utils.reportError(ex); return; } let selectedIndex =