Skip to content

Conversation

@ds-filipknefel
Copy link
Contributor

Include the exception in the error message string directly, not only via exc_info

@ds-filipknefel ds-filipknefel requested a review from awalker4 July 21, 2025 15:15
return response
except Exception as e:
logger.error("Request failed with error", exc_info=e)
logger.error(f"Request failed with error: {e}", exc_info=e)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the relevant change, the rest was auto formatting

Copy link
Collaborator

@awalker4 awalker4 left a comment

Choose a reason for hiding this comment

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

LGTM! If the flapping contract test doesn't pass, we can force merge for now.

@awalker4 awalker4 merged commit ab84dcb into main Jul 21, 2025
10 of 14 checks passed
@awalker4 awalker4 deleted the fix/include-exception-in-error-message branch July 21, 2025 15:45
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.

3 participants