From 1e02fcf39436112e898fd8b10ee94b6e158a4aee Mon Sep 17 00:00:00 2001 From: AAGaming Date: Sat, 19 Nov 2022 19:22:30 -0500 Subject: fix broken trycatch causing occasional injection failures --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') diff --git a/backend/main.py b/backend/main.py index cd73ce26..c144c13a 100644 --- a/backend/main.py +++ b/backend/main.py @@ -124,7 +124,7 @@ class PluginManager: while not tab: try: tab = await get_gamepadui_tab() - except client_exceptions.ClientConnectorError or client_exceptions.ServerDisconnectedError: + except (client_exceptions.ClientConnectorError, client_exceptions.ServerDisconnectedError): if not dc: logger.debug("Couldn't connect to debugger, waiting...") dc = True -- cgit v1.2.3