Project

General

Profile

« Previous | Next » 

Revision 2776

Added by Jing Tao over 18 years ago

Fixed a log bug.

View differences:

src/edu/ucsb/nceas/metacat/MetaCatServlet.java
2995 2995
            int rev = DBUtil.getLatestRevisionInDocumentTable(docid);
2996 2996
            if (rev == -1)
2997 2997
            {
2998
                throw new Exception("Couldn't find the document "+docid);
2998
                throw new Exception("the requested docid '"
2999
                        + docid+ "' does not exist");
2999 3000
            }
3000 3001
            else
3001 3002
            {
......
3007 3008
            // in other suituation we don't change the docid
3008 3009
            newAccNum = docid;
3009 3010
        }
3010
        logMetacat.debug("The docid will be read is "+newAccNum);
3011
        //logMetacat.debug("The docid will be read is "+newAccNum);
3011 3012
        return newAccNum;
3012 3013
    }
3013 3014
}

Also available in: Unified diff