BizHawkClient: Add error message if patching fails (#2877)
This commit is contained in:
parent
ca5c0d9eb8
commit
50fb70d832
worlds/_bizhawk
|
@ -234,8 +234,11 @@ async def _run_game(rom: str):
|
|||
|
||||
|
||||
async def _patch_and_run_game(patch_file: str):
|
||||
metadata, output_file = Patch.create_rom_file(patch_file)
|
||||
Utils.async_start(_run_game(output_file))
|
||||
try:
|
||||
metadata, output_file = Patch.create_rom_file(patch_file)
|
||||
Utils.async_start(_run_game(output_file))
|
||||
except Exception as exc:
|
||||
logger.exception(exc)
|
||||
|
||||
|
||||
def launch() -> None:
|
||||
|
|
Loading…
Reference in New Issue