Skip to content

Commit

Permalink
if we fail to load any crypto backend, don't fail again later and log…
Browse files Browse the repository at this point in the history
… the full import stacktrace at debug level

git-svn-id: https://xpra.org/svn/Xpra/trunk@11639 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jan 10, 2016
1 parent fcb0757 commit f41e3b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/xpra/net/crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@
raise ImportError("invalid crypto library specified: '%s'" % CRYPTO_LIBRARY)
ENCRYPTION_CIPHERS = ["AES"]
except ImportError as e:
log.error("Error: encryption library is not available!")
log.error("Error: encryption library %s is not available!", CRYPTO_LIBRARY)
log.error(" %s", e)
log("no crypto backend", exc_info=True)
backend = None
ENCRYPTION_CIPHERS = []


Expand Down

0 comments on commit f41e3b8

Please sign in to comment.