Use ErrorContext::RunCondition variant when reporting errors from run conditions.

This commit is contained in:
Chris Russell 2025-07-09 09:28:36 -04:00
parent b01de70bdd
commit b5439f56ee
3 changed files with 3 additions and 3 deletions

View File

@ -849,7 +849,7 @@ unsafe fn evaluate_and_fold_conditions(
if let RunSystemError::Failed(err) = err {
error_handler(
err,
ErrorContext::System {
ErrorContext::RunCondition {
name: condition.name(),
last_run: condition.get_last_run(),
},

View File

@ -207,7 +207,7 @@ fn evaluate_and_fold_conditions(
if let RunSystemError::Failed(err) = err {
error_handler(
err,
ErrorContext::System {
ErrorContext::RunCondition {
name: condition.name(),
last_run: condition.get_last_run(),
},

View File

@ -223,7 +223,7 @@ fn evaluate_and_fold_conditions(
if let RunSystemError::Failed(err) = err {
error_handler(
err,
ErrorContext::System {
ErrorContext::RunCondition {
name: condition.name(),
last_run: condition.get_last_run(),
},