mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
silent exceptions are bad : what should we do here ?
This commit is contained in:
@@ -98,7 +98,8 @@ def userlogout(request):
|
||||
try:
|
||||
m = IMAPconnector(user=request.user.username,
|
||||
password=request.session["password"])
|
||||
except Exception, e:
|
||||
except Exception:
|
||||
# TODO silent exception are bad : we should at least log it
|
||||
return
|
||||
|
||||
# The following statement may fail under Python 2.6...
|
||||
|
||||
Reference in New Issue
Block a user