Skip to content

Commit

Permalink
More explicit feedback message about how to report errors to develope…
Browse files Browse the repository at this point in the history
  • Loading branch information
neubig authored Mar 2, 2025
1 parent 62750c0 commit 91ad59d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openhands/controller/agent_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,9 @@ 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__}'
'report this error to the developers by opening an issue at '
'https://github.com/All-Hands-AI/OpenHands. Your session ID is '
f' {self.id}. Error type: {e.__class__.__name__}'
)
if (
isinstance(e, litellm.AuthenticationError)
Expand Down

0 comments on commit 91ad59d

Please sign in to comment.