diff options
author | Victor Shyba <victor1984@riseup.net> | 2017-10-25 13:16:08 -0300 |
---|---|---|
committer | Victor Shyba <victor1984@riseup.net> | 2017-10-27 16:01:48 -0300 |
commit | ed48667738335c0f54f0e522c684231f2b740403 (patch) | |
tree | 5ee6cd775877e444bd44a12bc9fda14737eb32c5 /src/leap/soledad/server/session.py | |
parent | 99658eb24a2cd2bb2c23147a837f9402c11de160 (diff) |
[style] E722 do not use bare except
Diffstat (limited to 'src/leap/soledad/server/session.py')
-rw-r--r-- | src/leap/soledad/server/session.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/soledad/server/session.py b/src/leap/soledad/server/session.py index 8f0e4639..786ea031 100644 --- a/src/leap/soledad/server/session.py +++ b/src/leap/soledad/server/session.py @@ -117,7 +117,7 @@ class SoledadSession(HTTPAuthSessionWrapper): credentials = self._credentialFactory.decode(auth_data, request) except error.LoginFailed: return UnauthorizedResource() - except: + except Exception: # If you port this to the newer log facility, be aware that # the tests rely on the error to be logged. log.err(None, "Unexpected failure from credentials factory") |