You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by mr...@apache.org on 2005/11/26 02:34:19 UTC

svn commit: r349061 - /struts/bsf/trunk/src/java/org/apache/struts/bsf/ScriptAction.java

Author: mrdon
Date: Fri Nov 25 17:34:18 2005
New Revision: 349061

URL: http://svn.apache.org/viewcvs?rev=349061&view=rev
Log:
Slightly improved script error message

Modified:
    struts/bsf/trunk/src/java/org/apache/struts/bsf/ScriptAction.java

Modified: struts/bsf/trunk/src/java/org/apache/struts/bsf/ScriptAction.java
URL: http://svn.apache.org/viewcvs/struts/bsf/trunk/src/java/org/apache/struts/bsf/ScriptAction.java?rev=349061&r1=349060&r2=349061&view=diff
==============================================================================
--- struts/bsf/trunk/src/java/org/apache/struts/bsf/ScriptAction.java (original)
+++ struts/bsf/trunk/src/java/org/apache/struts/bsf/ScriptAction.java Fri Nov 25 17:34:18 2005
@@ -275,7 +275,7 @@
                         reader = new FileReader(script.file);
                         script.string = IOUtils.getStringFromReader(reader);
                     } catch (IOException ex) {
-                        log.error("Unable to load script", ex);
+                        log.error("Unable to load script: "+script.file, ex);
                     } finally {
                         if (reader != null) {
                             try {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org