Skip to content

Conversation

@avivkeller
Copy link
Member

Today I learned that Commander.js doesn't log errors thrown from the .action(handler), and those must be handled manually.

This PR adds a wrapper to each function that:
If error, log and exit.

@avivkeller avivkeller requested a review from a team as a code owner April 20, 2025 22:04
Copy link
Member

@AugustinMauroy AugustinMauroy left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@AugustinMauroy AugustinMauroy left a comment

Choose a reason for hiding this comment

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

LGTM

@avivkeller avivkeller merged commit 2b200f1 into main Apr 21, 2025
7 checks passed
@avivkeller avivkeller deleted the error-wrapping branch April 21, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants