Exception message + exception object save to log
This commit is contained in:
@ -194,7 +194,7 @@ public class PreparedStatementNamed {
|
||||
try{
|
||||
tm = new java.sql.Timestamp(dfm.parse(value).getTime());
|
||||
} catch (Exception ex) {
|
||||
logger.error("Error",ex.getMessage());
|
||||
logger.error(ex.getMessage(), ex);
|
||||
}
|
||||
for (int i = 0; i < fields.size(); i++) {
|
||||
if (fields.get(i).name.equals(name)) {
|
||||
|
||||
Reference in New Issue
Block a user