Commits

mrdon  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

  • Participants
  • Parent commits 7b36e3a
  • Branches 2.0, xwork_2_0_7

Comments (0)

Files changed (1)

File 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());
                     }
                 }
             }