Skip to content

Commit ef02ae9

Browse files
committed
fix 3.9+ compat
1 parent cab1bd5 commit ef02ae9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/luxos/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ async def _fn(host: str, port: int):
8282
try:
8383
return await fn(host, port)
8484
except asyncio.TimeoutError as exc:
85-
tback = "".join(traceback.format_exception(exc))
85+
tback = "".join(traceback.format_exc())
8686
raise LuxosLaunchTimeoutError(tback, host, port) from exc
8787
except Exception as exc:
88-
tback = "".join(traceback.format_exception(exc))
88+
tback = "".join(traceback.format_exc())
8989
raise LuxosLaunchError(tback, host, port) from exc
9090

9191
return _fn

0 commit comments

Comments
 (0)