Revision 462
Added by bojilova over 24 years ago
src/edu/ucsb/nceas/metacat/MetaCatServlet.java | ||
---|---|---|
800 | 800 |
} catch (NullPointerException npe) { |
801 | 801 |
newdocid = DocumentImpl.write(conn,xml,doAction,null,user,group); |
802 | 802 |
} |
803 |
} catch (Exception e) { |
|
804 |
response.setContentType("text/html"); |
|
805 |
out.println(e.getMessage()); |
|
803 |
// } catch (Exception e) {
|
|
804 |
// response.setContentType("text/html");
|
|
805 |
// out.println(e.getMessage());
|
|
806 | 806 |
} finally { |
807 | 807 |
util.returnConnection(conn); |
808 | 808 |
} |
Also available in: Unified diff
fix the small bug with output like:
Fatal processing error
<success>
<docid>null</docid>
</success>
on hadleInsertOrUpdateAction()