添加对错误的处理。

Signed-off-by: CyberZHG <443442708@qq.com>