Show More
@@ -181,8 +181,8 b' class RepoFilesView(RepoAppView):' | |||
|
181 | 181 | raise HTTPFound( |
|
182 | 182 | h.route_path('repo_summary', repo_name=self.db_repo_name)) |
|
183 | 183 | |
|
184 | except (CommitDoesNotExistError, LookupError): | |
|
185 | msg = _('No such commit exists for this repository') | |
|
184 | except (CommitDoesNotExistError, LookupError) as e: | |
|
185 | msg = _('No such commit exists for this repository. Commit: {}').format(commit_id) | |
|
186 | 186 | h.flash(msg, category='error') |
|
187 | 187 | raise HTTPNotFound() |
|
188 | 188 | except RepositoryError as e: |
General Comments 0
You need to be logged in to leave comments.
Login now