From df3a6881220488cbbfa5a863ded071c911288048 Mon Sep 17 00:00:00 2001 From: derekpierre Date: Tue, 12 Sep 2023 10:00:30 -0400 Subject: [PATCH] Update NotEnoughUrsulas failure message to be clearer - it could be misinterpreted as an Ursula availability issue rather than a functional. --- nucypher/characters/lawful.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nucypher/characters/lawful.py b/nucypher/characters/lawful.py index 9c5ced2f2..a52216538 100644 --- a/nucypher/characters/lawful.py +++ b/nucypher/characters/lawful.py @@ -678,7 +678,9 @@ class Bob(Character): ) if len(successes) < threshold: - raise Ursula.NotEnoughUrsulas(f"Not enough Ursulas to decrypt: {failures}") + raise Ursula.NotEnoughUrsulas( + f"Threshold of Ursulas unable to decrypt: {failures}" + ) self.log.debug("Got enough shares to decrypt.") if decryption_request.variant == FerveoVariant.Precomputed: