Revision 1099
Added by Jing Tao over 22 years ago
src/edu/ucsb/nceas/metacat/MetacatReplication.java | ||
---|---|---|
822 | 822 |
} |
823 | 823 |
catch(Exception e) |
824 | 824 |
{ |
825 |
System.out.println("error getting document from MetacatReplication." + |
|
826 |
"handlGetDocumentRequest " + e.getMessage()); |
|
827 |
e.printStackTrace(System.out); |
|
825 |
MetaCatUtil.debugMessage("error getting document from MetacatReplication." |
|
826 |
+"handlGetDocumentRequest " + e.getMessage(), 30); |
|
827 |
//e.printStackTrace(System.out); |
|
828 |
response.setContentType("text/xml"); |
|
829 |
out.println("<error>e.getMessage()</error>"); |
|
828 | 830 |
} |
829 | 831 |
|
830 | 832 |
} |
Also available in: Unified diff
Add error message to outPut in catch clause in handleGetDocument Request.