mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-18 01:22:33 +02:00
Make echoerr, throw Error in liberator.open
This commit is contained in:
1 parent
8af1dfb84f
commit
0e22f0e4fd
1 file changed
+1
-3
@@ -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(...)");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user