rave-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@apache.org
Subject svn commit: r1165621 - /incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/controller/NewAccountController.java
Date Tue, 06 Sep 2011 12:02:15 GMT
Author: jasha
Date: Tue Sep  6 12:02:15 2011
New Revision: 1165621

URL: http://svn.apache.org/viewvc?rev=1165621&view=rev
Log:
Fix missing exception message in log

Modified:
    incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/controller/NewAccountController.java

Modified: incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/controller/NewAccountController.java
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/controller/NewAccountController.java?rev=1165621&r1=1165620&r2=1165621&view=diff
==============================================================================
--- incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/controller/NewAccountController.java
(original)
+++ incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/controller/NewAccountController.java
Tue Sep  6 12:02:15 2011
@@ -84,7 +84,7 @@ public class NewAccountController {
               if (logger.isDebugEnabled()) {
                   logger.error("Account creation failed: ", ex);
               } else {
-                  logger.error("Account creation failed: ", ex.getMessage());
+                  logger.error("Account creation failed: {}", ex.getMessage());
               }
 				results.reject("Unable to create account:"+ex.getMessage(),"Unable to create account");
 				return ViewNames.NEW_ACCOUNT;



Mime
View raw message