From b5925ddfe3a7363bc491fbfb6a6b8a1df743f692 Mon Sep 17 00:00:00 2001 From: Michael Goodnow Date: Fri, 29 Dec 2023 01:34:37 -0500 Subject: [PATCH] improve could not find a torrent with criteria messaging --- src/torrent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torrent.ts b/src/torrent.ts index e5bd30b2a..44d5a17b8 100644 --- a/src/torrent.ts +++ b/src/torrent.ts @@ -258,7 +258,7 @@ export async function getTorrentByCriteria( .first(); if (findResult === undefined) { - const message = `could not find a torrent with the criteria ${inspect( + const message = `torrentDir does not have any torrent with criteria ${inspect( criteria )}`; throw new Error(message);