Skip to content

Conversation

@heitorado
Copy link
Contributor

@heitorado heitorado commented Dec 11, 2025

Note

On failed tool repo login, display HTTP status and server error message, with fallback for invalid JSON responses.

  • CLI (crewai/cli/tools/main.py):
    • Improve login failure feedback in ToolCommand.login():
      • Prints HTTP status and server message from JSON response.
      • Gracefully handles invalid JSON (JSONDecodeError) with a fallback message.
      • Minor copy edit in the authentication failure prompt.
    • Add import for JSONDecodeError.

Written by Cursor Bugbot for commit ddbc074. This will update automatically on new commits. Configure here.

Local testing:
image

image

towards ENG-1395

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@heitorado heitorado merged commit 0632a05 into main Dec 11, 2025
43 checks passed
@heitorado heitorado deleted the heitor/show-error-message-when-tool-repo-login-fails branch December 11, 2025 17:56
@linear
Copy link

linear bot commented Dec 11, 2025

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.

4 participants