diff --git a/openhands/controller/agent_controller.py b/openhands/controller/agent_controller.py index 0f6e193ff7be..d6edf5cf4818 100644 --- a/openhands/controller/agent_controller.py +++ b/openhands/controller/agent_controller.py @@ -241,7 +241,7 @@ async def _step_with_exception_handling(self): reported = RuntimeError( 'There was an unexpected error while running the agent. Please ' f'report this error to the developers. Your session ID is {self.id}. ' - f'Error type: {e.__class__.__name__}' + f'Error: {e}' ) if ( isinstance(e, litellm.AuthenticationError)