We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7d0a51 commit 9d7d601Copy full SHA for 9d7d601
x/mongo/driver/operation.go
@@ -650,7 +650,7 @@ func (op Operation) Execute(ctx context.Context) error {
650
if err != nil {
651
// If the returned error is a context error, return it immediately.
652
if ctx.Err() != nil {
653
- err = ctx.Err()
+ return err
654
}
655
656
// If the returned error is retryable and there are retries remaining (negative
0 commit comments