From 7c8d57b00084fe460cf2f04d0b7cba44b138479b Mon Sep 17 00:00:00 2001 From: Dana Date: Wed, 1 Jun 2016 07:54:00 +0000 Subject: [PATCH] Removes error loggign messsage in case of 403 --- plugins/c9.error/views/error.html.ejs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/plugins/c9.error/views/error.html.ejs b/plugins/c9.error/views/error.html.ejs index b686bbec..9b66e689 100644 --- a/plugins/c9.error/views/error.html.ejs +++ b/plugins/c9.error/views/error.html.ejs @@ -8,11 +8,13 @@

<%=title%>

<%=statusCode%> - <%=scope%> <%=error%>

-

- This error has been logged. We will - investigate this further and will prevent this from happening in the - future. If this error persists please don't hesitate to contact support. -

+ <% if (statusCode != 403) { %> +

+ This error has been logged. We will + investigate this further and will prevent this from happening in the + future. If this error persists please don't hesitate to contact support. +

+ <% } %> <% if (showStackTrace) { %>