directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-commander git commit: FC-254 - Error Page should not show details
Date Mon, 05 Nov 2018 19:41:26 GMT
Repository: directory-fortress-commander
Updated Branches:
  refs/heads/master 0e2a037cd -> b6f423e8c


FC-254 - Error Page should not show details


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/commit/b6f423e8
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/tree/b6f423e8
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/diff/b6f423e8

Branch: refs/heads/master
Commit: b6f423e8c79227a7a0f7d68eb42917cdd0c7909d
Parents: 0e2a037
Author: Shawn McKinney <smckinney@apache.org>
Authored: Mon Nov 5 04:23:13 2018 -0600
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Mon Nov 5 04:23:13 2018 -0600

----------------------------------------------------------------------
 src/main/java/org/apache/directory/fortress/web/ErrorPage.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/blob/b6f423e8/src/main/java/org/apache/directory/fortress/web/ErrorPage.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/web/ErrorPage.java b/src/main/java/org/apache/directory/fortress/web/ErrorPage.java
index 5af54ae..2261e98 100644
--- a/src/main/java/org/apache/directory/fortress/web/ErrorPage.java
+++ b/src/main/java/org/apache/directory/fortress/web/ErrorPage.java
@@ -37,7 +37,8 @@ public class ErrorPage extends FortressWebBasePage
     public ErrorPage( Exception e )
     {
         add( new Label( "title", new Model<>( "Runtime Exception Occurred" ) ) );
-        add( new Label( "message", new Model<>( e.getLocalizedMessage() ) ) );
+        add( new Label( "message", new Model<>( "Operation Failed" ) ) );
+        /*add( new Label( "message", new Model<>( e.getLocalizedMessage() ) ) );*/
         add( new BookmarkablePageLink( "homePage", getApplication().getHomePage() ) );
     }
 


Mime
View raw message