Skip to content

Commit

Permalink
more verbose print exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
torydebra committed Nov 18, 2024
1 parent 3b1fa84 commit 6f3f69e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions server/src/xbot2_gui_server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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():
Expand All @@ -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():
Expand All @@ -154,15 +154,15 @@ 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
ext = ParameterHandler(srv, cfg.get('parameters', {}))
extensions.append(ext)
print(ext)
except BaseException as e:
print('Exception ', type(e), e)
print('ParameterHandler Exception ', type(e), e)

srv.extensions = extensions

Expand Down

0 comments on commit 6f3f69e

Please sign in to comment.