Skip to content

Conversation

@goncalossilva
Copy link
Member

Closes #89

@goncalossilva goncalossilva requested a review from a team as a code owner March 31, 2025 17:07
@goncalossilva goncalossilva requested review from Copilot, lefcha and proxi and removed request for a team and proxi March 31, 2025 17:07
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR ensures that the response content from an HTTPError is preserved for better error handling and debugging.

  • Changed the import path for DEFAULT_TOKEN
  • Modified the test to capture and assert the HTTPError response content

@goncalossilva goncalossilva force-pushed the goncalossilva/preserve-response-content branch from 9cc31c7 to ed9fbda Compare March 31, 2025 17:27
@goncalossilva goncalossilva merged commit 55917bd into main Mar 31, 2025
1 check passed
@goncalossilva goncalossilva deleted the goncalossilva/preserve-response-content branch March 31, 2025 17:27
Copy link
Member

@proxi proxi left a comment

Choose a reason for hiding this comment

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

✅ I understood the issue the same and I think user was confused. The test covers the scenario requested by the user and the interface is reasonable.

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.

Improve handling of API response with error message

3 participants