1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 14:24:13 +01:00

Make echoerr, throw Error in liberator.open

This commit is contained in:
Kris Maglione
2009-01-02 19:13:11 -05:00
parent 8af1dfb84f
commit 0e22f0e4fd

View File

@@ -1122,9 +1122,7 @@ const liberator = (function () //{{{
break;
default:
// FIXME: should this really be a user-visible error? --djk
liberator.echoerr("Exxx: Invalid 'where' directive in liberator.open(...)");
return false;
throw Error("Invalid 'where' directive in liberator.open(...)");
}
}