Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Marigold committed Oct 3, 2024
1 parent 95674f8 commit 32a91a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions etl/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,11 +530,10 @@ def _exec_step_job(
with strictness_level(strict):
try:
execution_times[step_name] = timed_run(lambda: step.run())
print(f"--- Finished {step_name} ({execution_times[step_name]:.1f}s)")
except Exception as e:
click.echo(f"{click.style('ERROR', fg='red')}: {e}")

print(f"--- Finished {step_name} ({execution_times[step_name]:.1f}s)")


def _write_execution_times(execution_times: Dict) -> None:
# Write the recorded execution times to a hidden json file that contains the time it took to execute each step
Expand Down

0 comments on commit 32a91a6

Please sign in to comment.