Skip to content

Commit b718253

Browse files
committed
Always log specific update job failure
1 parent 8ff2db7 commit b718253

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
@@ -195,8 +195,8 @@ class Updater : IUpdater {
195195
Chapter.getChapterList(job.manga.id, true)
196196
job.copy(status = JobStatus.COMPLETE)
197197
} catch (e: Exception) {
198-
if (e is CancellationException) throw e
199198
logger.error(e) { "Error while updating ${job.manga.title}" }
199+
if (e is CancellationException) throw e
200200
job.copy(status = JobStatus.FAILED)
201201
}
202202

0 commit comments

Comments
 (0)