Skip to content

Commit

Permalink
Better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
leomet07 committed Jan 26, 2024
1 parent 66f1525 commit 753dc43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function applyTextImageCredit(
);

if (!current_extra) {
throw new Error("No current extra found matchign that index!");
throw new Error("No current extra found matching index " + img_index + " !");
}

const current_contributor = current_extra.contributors[0];
Expand Down

0 comments on commit 753dc43

Please sign in to comment.