mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-11 05:33:57 +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()
|
local_db.session.rollback()
|
||||||
log.error("Database error: %s", e)
|
log.error("Database error: %s", e)
|
||||||
local_db.session.close()
|
local_db.session.close()
|
||||||
|
self._handleError(error_message)
|
||||||
return
|
return
|
||||||
self.results['path'] = cur_book.path
|
self.results['path'] = cur_book.path
|
||||||
self.title = cur_book.title
|
self.title = cur_book.title
|
||||||
|
Loading…
Reference in New Issue
Block a user