diff --git a/src/api_communication/api_communication/api_listener.py b/src/api_communication/api_communication/api_listener.py index 49a0f52a..c8eee072 100644 --- a/src/api_communication/api_communication/api_listener.py +++ b/src/api_communication/api_communication/api_listener.py @@ -460,7 +460,8 @@ class ApiListener(Node): self.send_available_commands() except Exception as e: self.get_logger().error('Something went wrong!') - self.get_logger().error(str(e)) + self.get_logger().error(str(type(e))) + self.get_logger().error(str(e.with_traceback())) async def api_handler(self, websocket): """Handles the websocket connection