Commit 1652e6fd authored by Dave Cridland's avatar Dave Cridland

Merge pull request #445 from sco0ter/usermanager

DefaultUserProvider: Rethrow exception instead of silently logging it.
parents be58aca7 23a0cc49
......@@ -163,8 +163,8 @@ public class DefaultUserProvider implements UserProvider {
pstmt.setString(5, StringUtils.dateToMillis(now));
pstmt.execute();
}
catch (Exception e) {
Log.error(LocaleUtils.getLocalizedString("admin.error"), e);
catch (SQLException e) {
throw new RuntimeException(e);
}
finally {
DbConnectionManager.closeConnection(pstmt, con);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment