You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2004/03/24 23:11:41 UTC

cvs commit: cocoon-lenya/src/java/org/apache/lenya/xml XPSAssembler.java

michi       2004/03/24 14:11:41

  Modified:    src/java/org/apache/lenya/xml XPSAssembler.java
  Log:
  exception message improved
  
  Revision  Changes    Path
  1.22      +2 -2      cocoon-lenya/src/java/org/apache/lenya/xml/XPSAssembler.java
  
  Index: XPSAssembler.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/xml/XPSAssembler.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- XPSAssembler.java	1 Mar 2004 16:18:23 -0000	1.21
  +++ XPSAssembler.java	24 Mar 2004 22:11:41 -0000	1.22
  @@ -305,7 +305,7 @@
               InputStream is = readXML(currentInfo);
               document = dpf.getDocument(is);
           } catch (Exception e) {
  -            log.warn(".include() 1056: " + e);
  +            log.warn(e + ", currentInfo: " + currentInfo.url.getFile() + " , sourceInfo: " + sourceInfo.url.getFile());
   
               Element newRoot = dpf.newElementNode(newDocument, XPSEXCEPTION_ELEMENT_NAME);
               newRoot.appendChild(dpf.newTextNode(newDocument, "" + e));
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org