mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-13 12:45:49 +01:00
Ammend revision 9f791638b3ef: Don't throw, but report error.
This commit is contained in:
@@ -215,7 +215,7 @@ var Contexts = Module("contexts", {
|
||||
enumerable: true,
|
||||
get: function () self,
|
||||
set: function (val) {
|
||||
throw TypeError("Not replacing plugin context for " + self.NAME);
|
||||
util.dactyl(val).reportError(FailedAssertion("Not replacing plugin context for " + self.NAME, 3, false), true);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user