fix: log activity id for failed jobs
way easier to debug, also allows to select them back
This commit is contained in:
parent
6df108254a
commit
90e4454d3e
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ impl JobDispatcher for Context {
|
|||
};
|
||||
|
||||
if let Err(e) = res {
|
||||
tracing::error!("failed processing job #{}: {e}", job.internal);
|
||||
tracing::error!("failed processing job '{}': {e}", job.activity);
|
||||
let active = job.clone().repeat();
|
||||
if let Err(e) = model::job::Entity::insert(active)
|
||||
.exec(_ctx.db())
|
||||
|
|
Loading…
Reference in a new issue