Use correct error message for download retry failure

This commit is contained in:
schroda
2025-03-10 21:52:52 +01:00
parent 61eec0cd0e
commit 50493af71c
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ export const ChapterHistoryCard = memo(({ chapter }: { chapter: ChapterHistoryLi
try {
await requestManager.addChapterToDownloadQueue(chapter.id).response;
} catch (e) {
makeToast(t('download.queue.error.label.failed_to_remove'), 'error', getErrorMessage(e));
makeToast(t('download.queue.error.label.failed_to_retry'), 'error', getErrorMessage(e));
}
};

View File

@@ -40,7 +40,7 @@ export const ChapterUpdateCard = memo(({ chapter }: { chapter: ChapterUpdateList
try {
await requestManager.addChapterToDownloadQueue(chapter.id).response;
} catch (e) {
makeToast(t('download.queue.error.label.failed_to_remove'), 'error', getErrorMessage(e));
makeToast(t('download.queue.error.label.failed_to_retry'), 'error', getErrorMessage(e));
}
};