Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Metalaka
Copy link

ResponseResult.Exception is nullable by usages. We have to check that nullability for standard Error cas.
eg when the Minio client SecretKey is invalid, the error is handled by this method and no exception is present in the ResponseResult object.

This fix the null point exception that is thrown at this line and allow to properly retrieve the error message.

ResponseResult.Exception is nullable by usages. We have to check that nullability for standard Error cas.
eg when the SecretKey is invalid, an error is handled by this method and no exception is present in the ResponseResult object.
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.

1 participant