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

GODRIVER-2603 (Contd.) Revised error handling using Go 1.13 error APIs #1488

Merged
merged 2 commits into from
Dec 12, 2023

Conversation

kumarlokesh
Copy link
Contributor

GODRIVER-2603

Summary

Follow-up PR to #1470 and #1476

Background & Motivation

As a requirement for the related ticket GODRIVER-2646, all errors are required to
be addressed to enable errorlint linter.

Would submit subsequent PR(s) to fix remaining errors before errorlint linter
could be enabled.

@kumarlokesh kumarlokesh requested a review from a team as a code owner December 4, 2023 20:51
@kumarlokesh kumarlokesh requested review from prestonvasquez and removed request for a team December 4, 2023 20:51
Copy link
Contributor

API Change Report

No changes found!

Copy link
Collaborator

@prestonvasquez prestonvasquez left a comment

Choose a reason for hiding this comment

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

Thanks for the additional work on error handling @kumarlokesh !

mongo/errors.go Outdated Show resolved Hide resolved
@kumarlokesh kumarlokesh force-pushed the GODRIVER-2603-3 branch 2 times, most recently from 83c18e2 to d740b71 Compare December 7, 2023 22:04
Copy link
Collaborator

@prestonvasquez prestonvasquez left a comment

Choose a reason for hiding this comment

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

LGTM!

@blink1073 blink1073 merged commit 4dbe540 into mongodb:v1 Dec 12, 2023
33 of 37 checks passed
@kumarlokesh kumarlokesh deleted the GODRIVER-2603-3 branch December 12, 2023 09:08
@blink1073
Copy link
Member

@prestonvasquez I tried the automatic backport but it looks like there are conflicts from #1486 that I didn't know how to resolve myself.

You can run:

git pull upstream v1
git create -b GODRIVER-2603 upstream/v1
git cherry-pick -x 4dbe540

And then handle the merge conflicts.

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