Skip to content

Commit 7c390ca

Browse files
committed
Always log specific update job failure
1 parent 8173715 commit 7c390ca

File tree

1 file changed

+1
-1
lines changed
  • server/src/main/kotlin/suwayomi/tachidesk/manga/impl/update

1 file changed

+1
-1
lines changed

server/src/main/kotlin/suwayomi/tachidesk/manga/impl/update/Updater.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ class Updater : IUpdater {
200200
Chapter.getChapterList(job.manga.id, true)
201201
job.copy(status = JobStatus.COMPLETE)
202202
} catch (e: Exception) {
203-
if (e is CancellationException) throw e
204203
logger.error(e) { "Error while updating ${job.manga.title}" }
204+
if (e is CancellationException) throw e
205205
job.copy(status = JobStatus.FAILED)
206206
}
207207

0 commit comments

Comments
 (0)