From c1117ca0be0bf63bbe1cdb5688b180244fa50224 Mon Sep 17 00:00:00 2001 From: Andre Staltz Date: Tue, 2 Jan 2024 13:10:22 +0200 Subject: [PATCH] update plugin assertion error --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 873b17e..0722d27 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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') } /**