Skip to content

Commit d486196

Browse files
kennwhitekevinAlbs
andauthored
MONGOCRYPT-574 Indicate why "not all keys requested were satisfied" was triggered (#628)
* Indicate why "not all keys requested were satisfied" was triggered * format --------- Co-authored-by: Kevin Albertson <[email protected]>
1 parent 6c9a499 commit d486196

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/mongocrypt-key-broker.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,9 @@ bool _mongocrypt_key_broker_docs_done(_mongocrypt_key_broker_t *kb) {
636636

637637
/* If there are any requests left unsatisfied, error. */
638638
if (!_all_key_requests_satisfied(kb)) {
639-
return _key_broker_fail_w_msg(kb, "not all keys requested were satisfied");
639+
return _key_broker_fail_w_msg(
640+
kb,
641+
"not all keys requested were satisfied. Verify that key vault DB/collection name was correctly specified.");
640642
}
641643

642644
/* Transition to the next state.

0 commit comments

Comments
 (0)