KastenMike opened a new pull request, #184: URL: https://github.com/apache/spark-connect-go/pull/184
### What changes were proposed in this pull request? Stop shadowing errors so `WithType(nil, sparkerrors.RetriesExceeded)` doesn't happen. Guard against nil in `errors.Unwrap` to avoid panicing ### Why are the changes needed? `lastError` is never with a value outside the loop which ultimately leads to lost errors and panics ### Does this PR introduce _any_ user-facing change? Only improved usability for library callers ### How was this patch tested? Unit tests -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
