Skip to content

Commit

Permalink
silence eprintln
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Plaza committed Sep 21, 2020
1 parent 54794b7 commit bb552d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion coil/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ impl<Env: Send + Sync + RefUnwindSafe + 'static> Runner<Env> {
.expect("Panic is mapped");
}
Err(e) => {
eprintln!("Job {} failed to run: {}", job_id, e);
// TODO: Fix killing the execution
// eprintln!("Job {} failed to run: {}", job_id, e);
db::update_failed_job(&mut trx, job_id)
.await
.expect(&format!("failed to update failed job: {:?}", e));
Expand Down

0 comments on commit bb552d7

Please sign in to comment.