diff --git a/moonraker/websockets.py b/moonraker/websockets.py index ed4b9f6..8b92b38 100644 --- a/moonraker/websockets.py +++ b/moonraker/websockets.py @@ -152,11 +152,7 @@ class WebsocketManager: def _generate_local_callback(self, endpoint, request_method, callback): async def func(**kwargs): - try: - result = await callback( - endpoint, request_method, kwargs) - except ServerError as e: - result = e + result = await callback(endpoint, request_method, kwargs) return result return func