mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-10 21:24:15 +00:00
Fixed missing handle_error in convert calibre task (database readonly case)
This commit is contained in:
parent
c1f4ca36b6
commit
25b09a532f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user