Skip to content

Commit

Permalink
More info on failed commit
Browse files Browse the repository at this point in the history
  • Loading branch information
neubig committed Oct 25, 2024
1 parent 64152d4 commit f83f12c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openhands_resolver/send_pull_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ def make_commit(repo_dir: str, issue: GithubIssue, issue_type: str) -> None:
text=True,
)
if result.returncode != 0:
print(f"Error committing changes: {result.stderr}")
raise RuntimeError("Failed to commit changes")
raise RuntimeError(f"Failed to commit changes: {result}")



Expand Down

0 comments on commit f83f12c

Please sign in to comment.