Browse Source

Change behavior when exception occurred in InitExecutor. Will not call System.exit(), just print stack trace

master
Carpenter Lee 6 years ago
parent
commit
b85d8ef1db
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      sentinel-core/src/main/java/com/alibaba/csp/sentinel/init/InitExecutor.java

+ 0
- 1
sentinel-core/src/main/java/com/alibaba/csp/sentinel/init/InitExecutor.java View File

@@ -56,7 +56,6 @@ public final class InitExecutor {
} catch (Exception ex) {
RecordLog.info("[Sentinel InitExecutor] Init failed", ex);
ex.printStackTrace();
System.exit(-1);
}
}



Loading…
Cancel
Save