From 9419f83359d258c82fdabe2be0b7d092f20a7c3d Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 27 Jan 2011 02:12:59 -0500 Subject: [PATCH] Re-enable error reporting during mapping execution. --HG-- branch : key-processing --- common/content/mappings.js | 1 + common/modules/addons.jsm | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/common/content/mappings.js b/common/content/mappings.js index 3e86257c..26edda35 100644 --- a/common/content/mappings.js +++ b/common/content/mappings.js @@ -120,6 +120,7 @@ var Map = Class("Map", { } catch (e) { events.feedingKeys = false; + dactyl.reportError(e, true); } finally { this.executing = false; diff --git a/common/modules/addons.jsm b/common/modules/addons.jsm index 2cd642a8..368f27ec 100644 --- a/common/modules/addons.jsm +++ b/common/modules/addons.jsm @@ -31,17 +31,17 @@ var AddonListener = Class("AddonListener", { this.dactyl = modules.dactyl; }, - onNewInstall: function (install) {}, - onExternalInstall: function (addon, existingAddon, needsRestart) {}, + onNewInstall: function (install) {}, + onExternalInstall: function (addon, existingAddon, needsRestart) {}, onDownloadStarted: listener("download", "started"), onDownloadEnded: listener("download", "complete"), onDownloadCancelled: listener("download", "cancelled"), onDownloadFailed: listener("download", "failed"), onDownloadProgress: function (install) {}, - onInstallStarted: function (install) {}, - onInstallEnded: listener("installation", "complete"), - onInstallCancelled: listener("installation", "cancelled"), - onInstallFailed: listener("installation", "failed") + onInstallStarted: function (install) {}, + onInstallEnded: listener("installation", "complete"), + onInstallCancelled: listener("installation", "cancelled"), + onInstallFailed: listener("installation", "failed") }); var updateAddons = Class("UpgradeListener", AddonListener, {