Skip to content

feat(integrations): Log as warning when failed http.response#112665

Merged
armenzg merged 2 commits intomasterfrom
minor_change
Apr 13, 2026
Merged

feat(integrations): Log as warning when failed http.response#112665
armenzg merged 2 commits intomasterfrom
minor_change

Conversation

@armenzg
Copy link
Copy Markdown
Member

@armenzg armenzg commented Apr 10, 2026

Very minor change which makes looking to hundreds of logs a bit more obvious which ones did not get a 200 status code.

@armenzg armenzg self-assigned this Apr 10, 2026
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 10, 2026
@armenzg armenzg marked this pull request as ready for review April 10, 2026 13:24
@armenzg armenzg requested a review from a team as a code owner April 10, 2026 13:24
@github-actions

This comment was marked as outdated.

@armenzg armenzg requested a review from a team April 13, 2026 12:46
@armenzg armenzg enabled auto-merge (squash) April 13, 2026 12:46
Comment on lines +117 to +118
log_level = self.logger.warning if error else self.logger.info
log_level("%s.http_response", self.integration_type, extra=log_params)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

logaf low: log_level makes me think it's the level itself (e.g. warning, info) rather than the logging fn.

@armenzg armenzg merged commit 7d8dc30 into master Apr 13, 2026
64 checks passed
@armenzg armenzg deleted the minor_change branch April 13, 2026 13:03
wedamija pushed a commit that referenced this pull request Apr 13, 2026
Very minor change which makes looking to hundreds of logs a bit more
obvious which ones did not get a 200 status code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants