also show str(exception)
This commit is contained in:
parent
76c84006ad
commit
4527b866bf
1 changed files with 2 additions and 2 deletions
|
@ -203,8 +203,8 @@ class Treepuncher(
|
||||||
|
|
||||||
except AuthException as e:
|
except AuthException as e:
|
||||||
self.logger.error("Auth exception : [%s|%d] %s (%s)", e.endpoint, e.code, e.data, e.kwargs)
|
self.logger.error("Auth exception : [%s|%d] %s (%s)", e.endpoint, e.code, e.data, e.kwargs)
|
||||||
except Exception:
|
except Exception as e:
|
||||||
self.logger.exception("Unhandled exception")
|
self.logger.exception("Unhandled exception : %s", str(e))
|
||||||
|
|
||||||
if self._processing:
|
if self._processing:
|
||||||
await self.stop(force=True)
|
await self.stop(force=True)
|
||||||
|
|
Loading…
Reference in a new issue