Project

General

Profile

« Previous | Next » 

Revision 2690

Added by sgarg about 19 years ago

Added warning to be displayed in the log when document is not inserted.

View differences:

src/edu/ucsb/nceas/metacat/MetaCatServlet.java
1793 1793
                out.println("<error>");
1794 1794
                out.println(npe.getMessage());
1795 1795
                out.println("</error>");
1796
                logMetacat.warn("Error in writing eml document to the database" + npe.getMessage());
1796 1797
            }
1797 1798
        } catch (Exception e) {
1798 1799
            //response.setContentType("text/xml");
......
1800 1801
            out.println("<error>");
1801 1802
            out.println(e.getMessage());
1802 1803
            out.println("</error>");
1804
            logMetacat.warn("Error in writing eml document to the database" + e.getMessage());
1803 1805
        }
1804 1806
    }
1805 1807

  

Also available in: Unified diff