Skip to content

Commit

Permalink
Do not set err to unwrapped connectErr in error interceptor (#3530)
Browse files Browse the repository at this point in the history
  • Loading branch information
doriable authored Dec 12, 2024
1 parent 0c0538c commit f9e5895
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion private/buf/cmd/buf/buf.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,6 @@ func wrapError(err error) error {
}
return errors.New(msg)
}
err = connectErr.Unwrap()
}

sysError, isSysError := syserror.As(err)
Expand Down

0 comments on commit f9e5895

Please sign in to comment.