Skip to content

Commit

Permalink
improve could not find a torrent with criteria messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
mmgoodnow committed Dec 29, 2023
1 parent fd6d9cb commit b5925dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/torrent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b5925dd

Please sign in to comment.