log durations decorator does not log duration for function calls
log durations decorator does not log duration for function calls: a task in repo2rlenv-swe-smith (Harbor dataset). When log durations is used as a decorator (wrapping a callable), it fails to log the duration message. The context-manager form works correctly, but the decorator form produces None…
The task
When `log_durations` is used as a decorator (wrapping a callable), it fails to log the duration message. The context-manager form works correctly, but the decorator form produces `None` instead of a formatted duration string.
Part of FineEnvs/repo2rlenv-swe-smith.