Skip to content

Improve git command error logging to include stdout/stderr#468

Merged
IanButterworth merged 2 commits intoJuliaRegistries:masterfrom
arnavk23:fix-issue-161
Jan 5, 2026
Merged

Improve git command error logging to include stdout/stderr#468
IanButterworth merged 2 commits intoJuliaRegistries:masterfrom
arnavk23:fix-issue-161

Conversation

@arnavk23
Copy link
Collaborator

@arnavk23 arnavk23 commented Jan 1, 2026

Fixes JuliaRegistries/TagBotErrorReports#161 - git push failures were not providing enough diagnostic information. Now both stdout and stderr are logged as ERROR level and included in the Abort exception message to help diagnose why pushes are failing.

Changes:

  • Changed logger.info to logger.error for command failures
  • Include full error details in Abort exception message
  • This will help users and maintainers diagnose permission issues, authentication failures, or other git push problems

Fixes JuliaRegistries/TagBotErrorReports#161 - git push failures were
not providing enough diagnostic information. Now both stdout and stderr
are logged as ERROR level and included in the Abort exception message
to help diagnose why pushes are failing.

Changes:
- Changed logger.info to logger.error for command failures
- Include full error details in Abort exception message
- This will help users and maintainers diagnose permission issues,
  authentication failures, or other git push problems
@arnavk23
Copy link
Collaborator Author

arnavk23 commented Jan 4, 2026

@IanButterworth Whenever you are free, please review this pr. Thanks!

@IanButterworth IanButterworth merged commit cbbc4fc into JuliaRegistries:master Jan 5, 2026
2 checks passed
@arnavk23 arnavk23 deleted the fix-issue-161 branch January 5, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Git command 'git push origin v0.1.0' failed

2 participants