Skip to content

Handle expired GitLab tokens clearly#162

Open
drore wants to merge 1 commit into
zigcBenx:masterfrom
drore:fix-expired-token-message
Open

Handle expired GitLab tokens clearly#162
drore wants to merge 1 commit into
zigcBenx:masterfrom
drore:fix-expired-token-message

Conversation

@drore
Copy link
Copy Markdown

@drore drore commented May 17, 2026

Summary

  • add a shared GitLab request helper that detects 401 Unauthorized responses
  • print a clear expired/invalid token message pointing to the local config file
  • route GitLab API reads/writes through the helper so token failures are consistent

Fixes #73

Verification

  • python3 -m py_compile gitHappens.py ai_code_review.py
  • git diff --check

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.

Handle expired token with descriptive error

1 participant