mirror of
https://github.com/janeczku/calibre-web
synced 2025-09-06 21:07:57 +00:00
Log exception for unhandled errors in background tasks
This commit is contained in:
@@ -199,7 +199,7 @@ class CalibreTask:
|
||||
self.run(*args)
|
||||
except Exception as ex:
|
||||
self._handleError(str(ex))
|
||||
log.error_or_exception(ex)
|
||||
log.exception(ex)
|
||||
|
||||
self.end_time = datetime.now()
|
||||
|
||||
|
Reference in New Issue
Block a user