Skip to content

Commit

Permalink
set job to what after_decortator_runner returns
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy-JB authored and JonatanMartens committed Jul 5, 2022
1 parent c106eff commit 0586dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyzeebe/task/task_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async def job_handler(job: Job) -> Job:
job.variables.update(original_return_value)
job.variables.pop(task_config.job_parameter_name, None)
await job.set_running_after_decorators_status()
await after_decorator_runner(job)
job = await after_decorator_runner(job)
if succeeded:
await job.set_success_status()
return job
Expand Down

0 comments on commit 0586dfe

Please sign in to comment.