添加异常处理

Signed-off-by: Zhao Yanxia <1716655706@qq.com>