Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(*): tiny refactor to the Error type #4737

Merged
merged 4 commits into from
Jun 14, 2024

Conversation

waynexia
Copy link
Member

@waynexia waynexia commented Jun 14, 2024

This patch

  • removes unnecessary async and Result from parse_error()
  • reduces potential .clone() on constructing new Error. As most of the error messages are newly formatted.

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Perfect, thanks!

@Xuanwo Xuanwo merged commit 40b15c8 into apache:main Jun 14, 2024
215 checks passed
@waynexia waynexia deleted the refactor-s3-error branch June 14, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants