update plugin assertion errors

This commit is contained in:
Andre Staltz 2024-01-02 13:09:29 +02:00
parent d44a047834
commit 32a51697e4
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 1 additions and 1 deletions

View File

@ -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')
}
/**