forked from alemi/upub
fix: oops inbound which fails processing is not ok
This commit is contained in:
parent
a3decfea95
commit
782c729b4c
1 changed files with 1 additions and 5 deletions
|
@ -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(())
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue