mirror of https://github.com/nucypher/nucypher.git
Removes inaccurate authentication error handling around CLI characters.
parent
1b1d21c79f
commit
f450412955
|
@ -88,13 +88,9 @@ def make_cli_character(character_config,
|
|||
#
|
||||
|
||||
# Produce Character
|
||||
try:
|
||||
CHARACTER = character_config(known_nodes=teacher_nodes,
|
||||
network_middleware=character_config.network_middleware,
|
||||
**config_args)
|
||||
except (CryptoError, ValueError):
|
||||
raise character_config.keyring.AuthenticationFailed(f"Failed to unlock nucypher keyring. "
|
||||
"Are you sure you provided the correct password?")
|
||||
CHARACTER = character_config(known_nodes=teacher_nodes,
|
||||
network_middleware=character_config.network_middleware,
|
||||
**config_args)
|
||||
|
||||
#
|
||||
# Post-Init
|
||||
|
|
Loading…
Reference in New Issue