emit killApp evt when encounter a serious error in production