Remove unneeded exception var

This commit is contained in:
Joseph Schorr 2016-12-09 14:52:49 -05:00
parent 1e5b97318a
commit fd364ccca3

View file

@ -312,7 +312,7 @@ def dex_oauth_callback():
try:
payload = decode_user_jwt(token, dex_login)
except InvalidTokenError as ite:
except InvalidTokenError:
logger.exception('Exception when decoding returned JWT')
return render_ologin_error(
dex_login.public_title,