chore.给子任务加了点日志

This commit is contained in:
MistEO
2022-05-30 21:57:52 +08:00
parent 9a4855db59
commit 16fff7e1b2

View File

@@ -225,8 +225,10 @@ bool ProcessTask::_run()
}
for (const std::string& sub : cur_task_ptr->sub) {
LogTraceScope("Sub: " + sub);
bool sub_ret = ProcessTask(*this, { sub }).run();
if (!sub_ret && !cur_task_ptr->sub_error_ignored) {
Log.error("Sub error and not ignored", sub);
return false;
}
}