mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-11 00:45:45 +01:00
Make echoerr, throw Error in liberator.open
This commit is contained in:
@@ -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