Skip to content

Commit

Permalink
fix: logging of measure_time if log is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
d-biehl committed Oct 3, 2024
1 parent d7e28f2 commit 725c739
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/robotcode/core/utils/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ def measure_time(
self._log_measure_time(
level, f"{' '*depth}End {msg() if callable(msg) else msg} took {duration} seconds", *args, **kwargs
)
else:
yield

def info(
self,
Expand Down

0 comments on commit 725c739

Please sign in to comment.