Skip to content

Commit

Permalink
MONGOCRYPT-752 suggest wrapping error (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinAlbs authored Dec 4, 2024
1 parent 9262d91 commit 588f33a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Ensure `mongocrypt_setopt_retry_kms` is called on the `mongocrypt_t` to enable r

If any step encounters a network error, call `mongocrypt_kms_ctx_fail`.
If `mongocrypt_kms_ctx_fail` returns true, continue to the next KMS context.
If `mongocrypt_kms_ctx_fail` returns false, abort and report an error.
If `mongocrypt_kms_ctx_fail` returns false, abort and report an error. Consider wrapping the error reported in `mongocrypt_kms_ctx_status` to include the last network error.

2. When done feeding all replies, call `mongocrypt_ctx_kms_done`.

Expand Down

0 comments on commit 588f33a

Please sign in to comment.