Merge lp:~robru/bileto/cleanup-login-endpoint into lp:bileto
Status: | Merged |
---|---|
Approved by: | Robert Bruce Park |
Approved revision: | 212 |
Merged at revision: | 211 |
Proposed branch: | lp:~robru/bileto/cleanup-login-endpoint |
Merge into: | lp:bileto |
Diff against target: |
50 lines (+15/-2) 3 files modified
tests/test_login.py (+10/-0) tests/test_sessions.py (+4/-2) tickets/login.py (+1/-0) |
To merge this branch: | bzr merge lp:~robru/bileto/cleanup-login-endpoint |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Approve | |
Robert Bruce Park (community) | Approve | ||
Review via email: mp+267213@code.launchpad.net |
Commit message
Fix unhandled /login traceback.
Description of the change
This fixes this production traceback:
2015-08-06 15:36:25,831 ERROR Exception on /login [GET]
Traceback (most recent call last):
File "/usr/lib/
response = self.full_
File "/usr/lib/
response = self.make_
File "/usr/lib/
raise ValueError('View function did not return a response')
ValueError: View function did not return a response
Which happens if you GET /login without already being logged in.
Looks good in staging.