Project

General

Profile

« Previous | Next » 

Revision 4780

Added by daigle about 15 years ago

Handle sessions with null ids gracefully.

View differences:

MetacatUtil.java
823 823
                logMetacat.error("Uploaded file '" + fileName + "'is empty!");
824 824
            }
825 825
        } catch (IOException e) {
826
            logMetacat.error("IO exception which writing temporary file: " +
826
            logMetacat.error("MetacatUtil.writeTempFile() - IO exception when writing temporary file: " +
827 827
                             tempFilePath + " " + e.getMessage());
828 828
        }
829 829

  
830
        logMetacat.info("Temporary file is: " + tempFilePath);
830
        logMetacat.debug("Temporary file is: " + tempFilePath);
831 831

  
832 832
        return tempFilePath;
833 833
    }

Also available in: Unified diff