mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
BizHawkClient: Fix error logging in python 3.8 (#2930)
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user