Skip to content

Commit

Permalink
add execution matched true for malformed job executions
Browse files Browse the repository at this point in the history
  • Loading branch information
simke9445 committed Mar 14, 2024
1 parent 73b4bcb commit 66c5b9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/warp-controller/src/execute/job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,9 @@ pub fn execute_job(
attrs.push(Attribute::new("job_condition_status", "invalid"));
attrs.push(Attribute::new("error", e.to_string()));
JobQueue::finalize(deps.storage, env, job.id.into(), JobStatus::Failed)?;

execution_matched = true;

break;
}
}
Expand Down

0 comments on commit 66c5b9a

Please sign in to comment.