Skip to content

Commit

Permalink
revert unintentional log removal
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz committed Nov 14, 2024
1 parent fb85970 commit 0da538f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/prefect/task_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,10 @@ async def initialize_run(
)

async with self.setup_run_context():
# setup_run_context might update the task run name, so log creation here
self.logger.debug(
f"Created task run {self.task_run.name!r} for task {self.task.name!r}"
)
yield self

except TerminationSignal as exc:
Expand Down

0 comments on commit 0da538f

Please sign in to comment.