Project

General

Profile

« Previous | Next » 

Revision 7258

report errors during XML->HTML transform
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5618

View differences:

src/edu/ucsb/nceas/metacat/DBTransform.java
130 130
      catch (Exception e)
131 131
      {
132 132
    	  try {
133
			w.write(xslSystemId + ": Error transforming document in " +
134
			           "DBTransform.transformXMLDocument: " +
135
			           e.getMessage());
133
    		  String msg = xslSystemId + ": Error transforming document in " +
134
	           "DBTransform.transformXMLDocument: " +
135
	           e.getMessage();
136
    		  w.write(msg);
137
    		  w.flush();
138
    		  logMetacat.error(msg, e);
136 139
		} catch (IOException e1) {
137 140
			logMetacat.error(e1.getMessage(), e1);
138 141
		}

Also available in: Unified diff