Skip to content

Conversation

@yaswant
Copy link
Collaborator

@yaswant yaswant commented Jan 14, 2026

Description

Summary

Refactor run_command() and add logging

Dependency

None

Checklist

  • I have performed a self-review of my own changes

@yaswant yaswant self-assigned this Jan 14, 2026
@yaswant yaswant added the enhancement New feature or request label Jan 14, 2026
Copy link
Collaborator

@james-bruten-mo james-bruten-mo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly fine, just one modification if that's ok

"""

import os
from datetime import datetime
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking about this, can we keep the printing of the timestamp in please. I appreciate it'll need adding to 3 print statements now, but the number of times I've debugged partially using that timestamp means I think it's worth it

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in c0b5d73

Copy link
Collaborator

@james-bruten-mo james-bruten-mo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@james-bruten-mo james-bruten-mo merged commit ab773fd into MetOffice:main Jan 16, 2026
4 checks passed
@yaswant yaswant mentioned this pull request Jan 16, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants