Skip to content

Fix axios error log format#1645

Merged
maor-rozenfeld merged 1 commit intomainfrom
fix-axios-error-format
Nov 20, 2025
Merged

Fix axios error log format#1645
maor-rozenfeld merged 1 commit intomainfrom
fix-axios-error-format

Conversation

@maor-rozenfeld
Copy link
Copy Markdown
Contributor

Part of OPS-2843.

Copilot AI review requested due to automatic review settings November 20, 2025 11:18
@linear
Copy link
Copy Markdown

linear Bot commented Nov 20, 2025

Copy link
Copy Markdown
Contributor

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 improves error logging for axios HTTP requests by restructuring the error log format to provide better context and prevent object spreading issues.

Key Changes:

  • Replaces object spreading of axiosError.response?.data with explicit error and errorResponse fields in error logs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link
Copy Markdown

@maor-rozenfeld maor-rozenfeld merged commit 805f132 into main Nov 20, 2025
22 checks passed
@maor-rozenfeld maor-rozenfeld deleted the fix-axios-error-format branch November 20, 2025 13:58
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