MCPcopy Index your code
hub / github.com/dianping/cat / errorHandler

Method errorHandler

cat-client/src/main/java/com/dianping/cat/Cat.java:107–111  ·  view source on GitHub ↗
(Exception e)

Source from the content-addressed store, hash-verified

105 }
106
107 private static void errorHandler(Exception e) {
108 if (m_errorCount++ % 100 == 0 || m_errorCount <= 3) {
109 e.printStackTrace();
110 }
111 }
112
113 public static String getCatHome() {
114 String catHome = CatPropertyProvider.INST.getProperty("CAT_HOME", CatConstants.CAT_HOME_DEFAULT_DIR);

Callers 15

checkAndInitializeMethod · 0.95
createMessageIdMethod · 0.95
destroyMethod · 0.95
getCurrentMessageIdMethod · 0.95
getManagerMethod · 0.95
getProducerMethod · 0.95
initializeMethod · 0.95
initializeByDomainMethod · 0.95
logErrorMethod · 0.95
logEventMethod · 0.95
logHeartbeatMethod · 0.95
logMetricInternalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected