fix: oops inbound which fails processing is not ok

This commit is contained in:
əlemi 2024-06-06 02:46:24 +02:00
parent a3decfea95
commit 782c729b4c
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -12,9 +12,5 @@ pub async fn process(ctx: upub::Context, job: &upub::model::job::Model) -> crate
return Ok(()); return Ok(());
}; };
if let Err(e) = ctx.process(activity).await { Ok(ctx.process(activity).await?)
tracing::error!("failed processing job #{}: {e}", job.internal);
}
Ok(())
} }