mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-21 10:45:40 +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;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// FIXME: should this really be a user-visible error? --djk
|
throw Error("Invalid 'where' directive in liberator.open(...)");
|
||||||
liberator.echoerr("Exxx: Invalid 'where' directive in liberator.open(...)");
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user