Skip to content

Commit

Permalink
add detailed error
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartManoj committed Feb 14, 2025
1 parent b69139f commit c4d4cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openhands/controller/agent_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c4d4cd6

Please sign in to comment.