Project

General

Profile

« Previous | Next » 

Revision 10482

Added by Jing Tao about 7 years ago

Don't print out the stack trace for a not found exception.

View differences:

src/edu/ucsb/nceas/metacat/dataone/hazelcast/SystemMetadataMap.java
78 78
		} catch (McdbDocNotFoundException e) {
79 79
			//throw new RuntimeException(e.getMessage(), e);
80 80
			// not found => null
81
			logMetacat.warn("could not load system metadata for: " +  pid.getValue(), e);
81
			logMetacat.warn("could not load system metadata for: " +  pid.getValue());
82 82
			return null;
83 83
		}
84 84
		catch (Exception e) {

Also available in: Unified diff