1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 10:07:59 +01:00

Remove residual try-catch.

This commit is contained in:
Kris Maglione
2009-11-09 13:26:11 -05:00
parent bc101175a1
commit 064f60855c

View File

@@ -558,17 +558,9 @@ const Options = Module("options", {
return (this._optionHash[name].scope & scope) && this._optionHash[name];
for (let opt in Iterator(options)) {
try {
if (opt.hasName(name))
return (opt.scope & scope) && opt;
}
catch(e) {
liberator.dump(options.__iterator__);
liberator.dump(opt);
liberator.reportError(e);
throw e;
}
}
return null;
},