mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-23 19:15:46 +01:00
Re-enable error reporting during mapping execution.
--HG-- branch : key-processing
This commit is contained in:
@@ -120,6 +120,7 @@ var Map = Class("Map", {
|
|||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
events.feedingKeys = false;
|
events.feedingKeys = false;
|
||||||
|
dactyl.reportError(e, true);
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
this.executing = false;
|
this.executing = false;
|
||||||
|
|||||||
@@ -31,17 +31,17 @@ var AddonListener = Class("AddonListener", {
|
|||||||
this.dactyl = modules.dactyl;
|
this.dactyl = modules.dactyl;
|
||||||
},
|
},
|
||||||
|
|
||||||
onNewInstall: function (install) {},
|
onNewInstall: function (install) {},
|
||||||
onExternalInstall: function (addon, existingAddon, needsRestart) {},
|
onExternalInstall: function (addon, existingAddon, needsRestart) {},
|
||||||
onDownloadStarted: listener("download", "started"),
|
onDownloadStarted: listener("download", "started"),
|
||||||
onDownloadEnded: listener("download", "complete"),
|
onDownloadEnded: listener("download", "complete"),
|
||||||
onDownloadCancelled: listener("download", "cancelled"),
|
onDownloadCancelled: listener("download", "cancelled"),
|
||||||
onDownloadFailed: listener("download", "failed"),
|
onDownloadFailed: listener("download", "failed"),
|
||||||
onDownloadProgress: function (install) {},
|
onDownloadProgress: function (install) {},
|
||||||
onInstallStarted: function (install) {},
|
onInstallStarted: function (install) {},
|
||||||
onInstallEnded: listener("installation", "complete"),
|
onInstallEnded: listener("installation", "complete"),
|
||||||
onInstallCancelled: listener("installation", "cancelled"),
|
onInstallCancelled: listener("installation", "cancelled"),
|
||||||
onInstallFailed: listener("installation", "failed")
|
onInstallFailed: listener("installation", "failed")
|
||||||
});
|
});
|
||||||
|
|
||||||
var updateAddons = Class("UpgradeListener", AddonListener, {
|
var updateAddons = Class("UpgradeListener", AddonListener, {
|
||||||
|
|||||||
Reference in New Issue
Block a user