Commits

Anonymous committed 3ace11b

Adding better error message for problem setting a parameter
WW-1926 (Struts 2)

git-svn-id: http://svn.opensymphony.com/svn/xwork/branches/2.0@1519e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

src/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java

                             ((ValidationAware) action).addActionMessage(developerNotification);
                         }
                     } else {
-                        LOG.error("ParametersInterceptor - [setParameters]: Unexpected Exception catched: " + e.getMessage());
+                        LOG.error("ParametersInterceptor - [setParameters]: Unexpected Exception caught setting '"+name+"' on '"+action.getClass()+": " + e.getMessage());
                     }
                 }
             }