Commit 0790aab5 authored by Lukas Burgey's avatar Lukas Burgey

Add exception reporting to auth view

parent 56e51ebd
......@@ -85,6 +85,11 @@ class Auth(View):
request.session['error'] = 'Server Error'
return redirect('/')
except:
# the error is deleted from the session when the state is delivered
request.session['error'] = 'Server Error'
return redirect('/')
class AuthCallback(View):
def get(self, request):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment