Show More
@@ -237,9 +237,12 b' def error_handler(exception, request):' | |||
|
237 | 237 | log.exception( |
|
238 | 238 | 'error occurred handling this request for path: %s', request.path) |
|
239 | 239 | |
|
240 | error_explanation = base_response.explanation or str(base_response) | |
|
241 | if base_response.status_code == 404: | |
|
242 | error_explanation += " Or you don't have permission to access it." | |
|
240 | 243 | c = AttributeDict() |
|
241 | 244 | c.error_message = base_response.status |
|
242 |
c.error_explanation = |
|
|
245 | c.error_explanation = error_explanation | |
|
243 | 246 | c.visual = AttributeDict() |
|
244 | 247 | |
|
245 | 248 | c.visual.rhodecode_support_url = ( |
General Comments 0
You need to be logged in to leave comments.
Login now