Skip to content

Commit 8681f84

Browse files
committed
remove unnessary Tracer.logError
1 parent c91f690 commit 8681f84

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

apollo-client/src/main/java/com/ctrip/framework/apollo/internals/ConfigServiceLocator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ private synchronized void updateConfigServices() {
122122
logConfigServicesToCat(services);
123123
return;
124124
} catch (Throwable ex) {
125-
Tracer.logError(ex);
126125
transaction.setStatus(ex);
127126
exception = ex;
128127
} finally {

apollo-client/src/main/java/com/ctrip/framework/apollo/internals/LocalFileConfigRepository.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ protected void sync() {
141141
m_fileProperties = this.loadFromLocalCacheFile(m_baseDir, m_namespace);
142142
transaction.setStatus(Transaction.SUCCESS);
143143
} catch (Throwable ex) {
144-
Tracer.logError(ex);
145144
transaction.setStatus(ex);
146145
exception = ex;
147146
//ignore

apollo-client/src/main/java/com/ctrip/framework/apollo/internals/RemoteConfigLongPollService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ private void doLongPollingRefresh(String appId, String cluster, String dataCente
180180
transaction.setStatus(Transaction.SUCCESS);
181181
} catch (Throwable ex) {
182182
lastServiceDto = null;
183-
Tracer.logError(ex);
184183
transaction.setStatus(ex);
185184
long sleepTimeInSecond = m_longPollFailSchedulePolicyInSecond.fail();
186185
logger.warn(

apollo-client/src/main/java/com/ctrip/framework/apollo/internals/RemoteConfigRepository.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,9 @@ private ApolloConfig loadApolloConfig() {
213213
statusCodeException = new ApolloConfigStatusCodeException(ex.getStatusCode(),
214214
message);
215215
}
216-
Tracer.logError(statusCodeException);
217216
transaction.setStatus(statusCodeException);
218217
exception = statusCodeException;
219218
} catch (Throwable ex) {
220-
Tracer.logError(ex);
221219
transaction.setStatus(ex);
222220
exception = ex;
223221
} finally {

0 commit comments

Comments
 (0)