[seam-commits] Seam SVN: r12032 - branches/community/Seam_2_2/src/main/org/jboss/seam/security/jaas.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Feb 10 19:42:25 EST 2010
Author: shane.bryzak at jboss.com
Date: 2010-02-10 19:42:25 -0500 (Wed, 10 Feb 2010)
New Revision: 12032
Modified:
branches/community/Seam_2_2/src/main/org/jboss/seam/security/jaas/SeamLoginModule.java
Log:
JBSEAM-2164
Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/security/jaas/SeamLoginModule.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/security/jaas/SeamLoginModule.java 2010-02-11 00:17:27 UTC (rev 12031)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/security/jaas/SeamLoginModule.java 2010-02-11 00:42:25 UTC (rev 12032)
@@ -94,7 +94,7 @@
}
catch (Exception ex)
{
- log.warn("Error logging in");
+ log.warn("Error logging in", ex);
LoginException le = new LoginException(ex.getMessage());
le.initCause(ex);
throw le;
@@ -110,8 +110,10 @@
}
catch (Exception ex)
{
- log.warn("Error invoking login method", ex);
- throw new LoginException(ex.getMessage());
+ log.warn("Error invoking login method", ex);
+ LoginException le = new LoginException(ex.getMessage());
+ le.initCause(ex);
+ throw le;
}
}
More information about the seam-commits
mailing list