Skip to content

Improve plcli error handling#19

Merged
DavidBuchanan314 merged 2 commits intomainfrom
plcli-errors
Nov 15, 2025
Merged

Improve plcli error handling#19
DavidBuchanan314 merged 2 commits intomainfrom
plcli-errors

Conversation

@DavidBuchanan314
Copy link
Copy Markdown
Collaborator

@DavidBuchanan314 DavidBuchanan314 commented Nov 14, 2025

This might've been something that broke in the urfave/cli v2->v3 migration, but previously we'd exit silently on a bunch of error paths. I added logic to print errors before exiting, and also changed some of the explicit os.Exit(-1) into returned errors.

@DavidBuchanan314 DavidBuchanan314 merged commit b2946a4 into main Nov 15, 2025
2 checks passed
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.

2 participants