Show More
@@ -26,7 +26,7 b'' | |||
|
26 | 26 | import logging |
|
27 | 27 | import traceback |
|
28 | 28 | from collections import defaultdict |
|
29 | from webob.exc import HTTPForbidden, HTTPBadRequest | |
|
29 | from webob.exc import HTTPForbidden, HTTPBadRequest, HTTPNotFound | |
|
30 | 30 | |
|
31 | 31 | from pylons import tmpl_context as c, url, request, response |
|
32 | 32 | from pylons.i18n.translation import _ |
@@ -204,7 +204,7 b' class ChangesetController(BaseRepoContro' | |||
|
204 | 204 | except (RepositoryError, ChangesetDoesNotExistError, Exception), e: |
|
205 | 205 | log.error(traceback.format_exc()) |
|
206 | 206 | h.flash(str(e), category='error') |
|
207 | return redirect(url('changeset_home', repo_name=c.repo_name)) | |
|
207 | raise HTTPNotFound() | |
|
208 | 208 | |
|
209 | 209 | c.changes = OrderedDict() |
|
210 | 210 |
General Comments 0
You need to be logged in to leave comments.
Login now