Skip to content

Commit 9b7fb81

Browse files
committed
Always log specific update job failure
1 parent 1e91b76 commit 9b7fb81

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
@@ -197,8 +197,8 @@ class Updater : IUpdater {
197197
Chapter.getChapterList(job.manga.id, true)
198198
job.copy(status = JobStatus.COMPLETE)
199199
} catch (e: Exception) {
200-
if (e is CancellationException) throw e
201200
logger.error(e) { "Error while updating ${job.manga.title}" }
201+
if (e is CancellationException) throw e
202202
job.copy(status = JobStatus.FAILED)
203203
}
204204

0 commit comments

Comments
 (0)