1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-20 15:10:31 +00:00

Fixed missing handle_error in convert calibre task (database readonly case)

This commit is contained in:
Ozzieisaacs 2021-11-04 21:23:02 +04:00
parent c1f4ca36b6
commit 25b09a532f

View File

@ -151,6 +151,7 @@ class TaskConvert(CalibreTask):
local_db.session.rollback()
log.error("Database error: %s", e)
local_db.session.close()
self._handleError(error_message)
return
self.results['path'] = cur_book.path
self.title = cur_book.title