cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/modules/input XMLFileModule.java
Date Fri, 07 Mar 2003 07:13:41 GMT
jefft       2003/03/06 23:13:41

  Modified:    src/java/org/apache/cocoon/components/modules/input
                        XMLFileModule.java
  Log:
  Print the full exception, rather than just the message.
  
  Revision  Changes    Path
  1.10      +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java
  
  Index: XMLFileModule.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- XMLFileModule.java	3 Mar 2003 18:08:54 -0000	1.9
  +++ XMLFileModule.java	7 Mar 2003 07:13:41 -0000	1.10
  @@ -253,7 +253,7 @@
               dom = ((DocumentHelper) this.documents.get(src)).getDocument(this.manager,
this.resolver, getLogger());
           } catch (Exception e) {
               if (getLogger().isDebugEnabled())
  -                getLogger().debug("Error using source "+src+"\n"+ e.getMessage());
  +                getLogger().debug("Error using source "+src+"\n"+ e.getMessage(), e);
               throw new ConfigurationException("Error using source "+src, e);
           }
           return dom;
  
  
  

Mime
View raw message