BizHawkClient: Fix error logging in python 3.8 (#2930)

This commit is contained in:
Bryce Wilson 2024-03-11 00:16:48 -06:00 committed by GitHub
parent c7e735da15
commit 6badc75237
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,6 @@ checking or launching the client, otherwise it will probably cause circular impo
import asyncio
import enum
import subprocess
import traceback
from typing import Any, Dict, Optional
from CommonClient import CommonContext, ClientCommandProcessor, get_base_parser, server_loop, logger, gui_enabled
@ -260,7 +259,7 @@ def launch() -> None:
try:
await watcher_task
except Exception as e:
logger.error("".join(traceback.format_exception(e)))
logger.exception(e)
await ctx.exit_event.wait()
await ctx.shutdown()