If exceptions occur in startup, storage node will exit. Avoid a misguide.

This commit is contained in:
wusheng 2016-11-28 11:16:06 +08:00
parent 5b65fa5ab0
commit 6e10bb2526
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ public class Main {
logger.error("SkyWalking storage server start failure.", e);
} finally {
server.stop();
System.exit(-1);
}
}