diff --git a/framework/src/main/java/org/tron/common/application/ApplicationImpl.java b/framework/src/main/java/org/tron/common/application/ApplicationImpl.java index b4e248b2c02..28108adfa88 100644 --- a/framework/src/main/java/org/tron/common/application/ApplicationImpl.java +++ b/framework/src/main/java/org/tron/common/application/ApplicationImpl.java @@ -79,7 +79,12 @@ public void shutdown() { @Override public void startServices() { - services.start(); + try { + services.start(); + } catch (Exception e) { + logger.error("Failed to start services", e); + System.exit(1); + } } @Override