fix server start error raised not capture and emit start event when server start