From 32a51697e49dd198d204f51713cd09e8b8773e9f Mon Sep 17 00:00:00 2001 From: Andre Staltz Date: Tue, 2 Jan 2024 13:09:29 +0200 Subject: [PATCH] update plugin assertion errors --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 550f3ca..3b8e72d 100644 --- a/lib/index.js +++ b/lib/index.js @@ -67,7 +67,7 @@ function fromSubdomain(subdomain) { * @returns {asserts peer is { db: PPPPPDB, close: ClosableHook }} */ function assertDBPlugin(peer) { - if (!peer.db) throw new Error('dict plugin requires ppppp-db plugin') + if (!peer.db) throw new Error('"dict" plugin requires "db" plugin') } /**