mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Only dispkay failure to use cryptography at a higher verbosity
Fixes #17982
This commit is contained in:
parent
6be09ee866
commit
bf3d546d9a
1 changed files with 2 additions and 2 deletions
|
@ -83,9 +83,9 @@ try:
|
|||
except ImportError:
|
||||
pass
|
||||
except Exception as e:
|
||||
display.warning("Optional dependency 'cryptography' raised an exception, falling back to 'Crypto'")
|
||||
display.vvvv("Optional dependency 'cryptography' raised an exception, falling back to 'Crypto'.")
|
||||
import traceback
|
||||
display.debug("Traceback from import of cryptography was {0}".format(traceback.format_exc()))
|
||||
display.vvvv("Traceback from import of cryptography was {0}".format(traceback.format_exc()))
|
||||
|
||||
HAS_ANY_PBKDF2HMAC = HAS_PBKDF2 or HAS_PBKDF2HMAC
|
||||
|
||||
|
|
Loading…
Reference in a new issue