Revision 3568
Added by Jing Tao about 17 years ago
src/edu/ucsb/nceas/metacat/MetaCatServlet.java | ||
---|---|---|
2956 | 2956 |
newFile.delete(); |
2957 | 2957 |
} |
2958 | 2958 |
logMetacat.info("in Exception: fileExists is " + fileExists); |
2959 |
//throw ee; |
|
2960 | 2959 |
logMetacat.error("Upload Error: " + ee.getMessage()); |
2960 |
throw ee; |
|
2961 | 2961 |
} |
2962 | 2962 |
|
2963 | 2963 |
EventLog.getInstance().log(request.getRemoteAddr(), |
Also available in: Unified diff
Fixed bug that should throw an exception in upload method.