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:
@@ -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