mirror of https://codeberg.org/pzp/pzp-set.git
update plugin assertion error
This commit is contained in:
parent
5c87ac31ed
commit
c1117ca0be
|
@ -71,7 +71,7 @@ function fromSubdomain(subdomain) {
|
|||
* @returns {asserts peer is { db: PPPPPDB, close: ClosableHook }}
|
||||
*/
|
||||
function assertDBPlugin(peer) {
|
||||
if (!peer.db) throw new Error('set plugin requires ppppp-db plugin')
|
||||
if (!peer.db) throw new Error('"set" plugin requires "db" plugin')
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue