Ammend revision 9f791638b3ef: Don't throw, but report error.

This commit is contained in:
Kris Maglione committed 2011-02-27 05:48:34 -05:00
1 parent 02b43a6986
commit 191ece33e0
2 files changed
+5 -4

No files matched your search

+1 -1
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);
}
});
}