Skip to content

Commit

Permalink
Always log specific update job failure
Browse files Browse the repository at this point in the history
  • Loading branch information
schroda committed Oct 24, 2023
1 parent 8173715 commit 7c390ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ class Updater : IUpdater {
Chapter.getChapterList(job.manga.id, true)
job.copy(status = JobStatus.COMPLETE)
} catch (e: Exception) {
if (e is CancellationException) throw e
logger.error(e) { "Error while updating ${job.manga.title}" }
if (e is CancellationException) throw e
job.copy(status = JobStatus.FAILED)
}

Expand Down

0 comments on commit 7c390ca

Please sign in to comment.