Skip to content

Conversation

@raunaqmorarka
Copy link
Member

Description

Record error message in S3FileSystem#deleteObjects

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

## Section
* Fix some things. ({issue}`issuenumber`)

This comment was marked as outdated.

@raunaqmorarka raunaqmorarka force-pushed the raunaq/s3-delete-error branch from b4fd654 to d3edada Compare August 12, 2025 17:47
@raunaqmorarka raunaqmorarka requested review from Copilot, ebyhr and electrum and removed request for ebyhr and electrum August 12, 2025 17:47

This comment was marked as outdated.

@raunaqmorarka raunaqmorarka force-pushed the raunaq/s3-delete-error branch from d3edada to c8fa1d8 Compare August 12, 2025 17:49
@raunaqmorarka raunaqmorarka requested a review from Copilot August 12, 2025 17:50
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 enhances error handling in the S3FileSystem's deleteObjects method by improving error message recording. When S3 delete operations fail, the system now captures both the error message and error code instead of just the error code.

  • Enhanced error message formatting to include both message and code when available
  • Added null check for error message to handle cases where S3 returns only error codes
  • Improved debugging capability by providing more detailed error information

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@raunaqmorarka raunaqmorarka requested a review from wendigo August 12, 2025 17:52
@raunaqmorarka raunaqmorarka merged commit b8bf7e5 into master Aug 12, 2025
72 of 73 checks passed
@raunaqmorarka raunaqmorarka deleted the raunaq/s3-delete-error branch August 12, 2025 18:54
@github-actions github-actions bot added this to the 477 milestone Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants