# HG changeset patch # User Marcin Kuzminski # Date 2018-12-19 17:11:54 # Node ID ffd2b28a32251ad94c0b00cff83847f7f9a1c83c # Parent 7faf264065b4cba589348fa842eb90fd80fcd30a error-pages: update message to more proper. diff --git a/rhodecode/config/middleware.py b/rhodecode/config/middleware.py --- a/rhodecode/config/middleware.py +++ b/rhodecode/config/middleware.py @@ -165,7 +165,7 @@ def error_handler(exception, request): error_explanation = base_response.explanation or str(base_response) if base_response.status_code == 404: - error_explanation += " Or you don't have permission to access it." + error_explanation += " Optionally you don't have permission to access this page." c = AttributeDict() c.error_message = base_response.status c.error_explanation = error_explanation