Skip to content

Reduce log level for http errors#2363

Merged
MarceloRGonc merged 2 commits into
mainfrom
mg/OPS-4531
Jun 19, 2026
Merged

Reduce log level for http errors#2363
MarceloRGonc merged 2 commits into
mainfrom
mg/OPS-4531

Conversation

@MarceloRGonc

Copy link
Copy Markdown
Contributor

Part of OPS-4531

Copilot AI review requested due to automatic review settings June 19, 2026 08:48
@linear

linear Bot commented Jun 19, 2026

Copy link
Copy Markdown

OPS-4531

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 (OPS-4531) reduces the log severity for HTTP request failures across shared Axios-based clients, aiming to lower noise from expected/handled request errors.

Changes:

  • Downgrade Axios request failure logs from error to warn in makeHttpRequest (packages/openops).
  • Downgrade Axios HTTP client failure logs from error to warn and add structured context fields (method, url, status, etc.) in blocks common HTTP client.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/openops/src/lib/axios-wrapper.ts Switch HTTP failure logs from errorwarn, adjust message, keep timing metadata.
packages/blocks/common/src/lib/http/axios/axios-http-client.ts Switch HTTP failure logs from errorwarn, add structured logging fields for request/response context.

Comment thread packages/blocks/common/src/lib/http/axios/axios-http-client.ts
@MarceloRGonc
MarceloRGonc requested a review from ravikiranvm June 19, 2026 09:53
@MarceloRGonc
MarceloRGonc merged commit d4249d4 into main Jun 19, 2026
22 checks passed
@MarceloRGonc
MarceloRGonc deleted the mg/OPS-4531 branch June 19, 2026 10:04
@sonarqubecloud

Copy link
Copy Markdown

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