fmt
This commit is contained in:
@@ -98,11 +98,8 @@ impl Worker {
|
||||
None => {
|
||||
warn!(job_id = %job.id, job_type = %job.job_type, "job detached from tenant; marking failed");
|
||||
if let Ok(mut conn) = self.state.db_unscoped() {
|
||||
let _ = mark_job_failed(
|
||||
&mut conn,
|
||||
job.id,
|
||||
"job detached from tenant context",
|
||||
);
|
||||
let _ =
|
||||
mark_job_failed(&mut conn, job.id, "job detached from tenant context");
|
||||
}
|
||||
return Ok(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user