添加异常提示handler
Signed-off-by: HaoziLeung <haozileung.cn@gmail.com>