1
0
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:
Kris Maglione
2011-02-27 05:48:34 -05:00
parent 02b43a6986
commit 191ece33e0
2 changed files with 5 additions and 4 deletions

View File

@@ -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);
}
});
}