From 6f3f69ea85cce413d5fa5cafa0272c7434d7290b Mon Sep 17 00:00:00 2001 From: Davide Torielli Date: Mon, 18 Nov 2024 13:25:54 +0000 Subject: [PATCH] more verbose print exceptions --- server/src/xbot2_gui_server/main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/src/xbot2_gui_server/main.py b/server/src/xbot2_gui_server/main.py index 93135aa..b8e6954 100644 --- a/server/src/xbot2_gui_server/main.py +++ b/server/src/xbot2_gui_server/main.py @@ -94,7 +94,7 @@ async def load_extensions(): except ModuleNotFoundError: pass except BaseException as e: - print('Exception ', type(e), e) + print('Launcher Exception ', type(e), e) # cartesian try: @@ -113,7 +113,7 @@ async def load_extensions(): except ModuleNotFoundError: pass except BaseException as e: - print('Exception ', type(e), e) + print('SpeechHandler Exception ', type(e), e) # visual @@ -123,7 +123,7 @@ async def load_extensions(): extensions.append(ext) print(ext) except BaseException as e: - print('Exception ', type(e), e) + print('VisualHandler Exception ', type(e), e) # concert if 'concert' in cfg.keys(): @@ -133,7 +133,7 @@ async def load_extensions(): extensions.append(ext) print(ext) except BaseException as e: - print('Exception ', type(e), e) + print('ConcertHandler Exception ', type(e), e) # ecat if 'ecat' in cfg.keys(): @@ -154,7 +154,7 @@ async def load_extensions(): extensions.append(ext) print(ext) except BaseException as e: - print('Exception ', type(e), e) + print('DashboardHandler Exception ', type(e), e) try: from .parameters import ParameterHandler @@ -162,7 +162,7 @@ async def load_extensions(): extensions.append(ext) print(ext) except BaseException as e: - print('Exception ', type(e), e) + print('ParameterHandler Exception ', type(e), e) srv.extensions = extensions