logger.exception cleanup
This commit is contained in:
parent
6467d3b58e
commit
7b968a2401
@ -54,8 +54,8 @@ def main(sysargv: List[str]) -> None:
|
|||||||
except OperationalException as e:
|
except OperationalException as e:
|
||||||
logger.error(str(e))
|
logger.error(str(e))
|
||||||
return_code = 2
|
return_code = 2
|
||||||
except BaseException as e:
|
except BaseException:
|
||||||
logger.exception('Fatal exception! ' + str(e))
|
logger.exception('Fatal exception!')
|
||||||
finally:
|
finally:
|
||||||
if worker:
|
if worker:
|
||||||
worker.exit()
|
worker.exit()
|
||||||
|
Loading…
Reference in New Issue
Block a user