update plugin assertion error

This commit is contained in:
Andre Staltz 2024-01-02 13:10:22 +02:00
parent 5c87ac31ed
commit c1117ca0be
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 1 additions and 1 deletions

View File

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