图像处理异常,继续抛到上一级函数中处理(及时停止扫描工作)

This commit is contained in:
gb 2022-11-26 14:19:56 +08:00
parent 9946374792
commit 2f1fcafa4f
1 changed files with 1 additions and 0 deletions

View File

@ -554,6 +554,7 @@ namespace hg_imgproc
catch (const std::exception& e) catch (const std::exception& e)
{ {
LOG_INFO(LOG_LEVEL_FATAL, e.what()); LOG_INFO(LOG_LEVEL_FATAL, e.what());
throw(e); // 继续抛到上层处理。
} }
} }
buffs.clear(); buffs.clear();