Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1] (backport) Harmonize BeforeError handling #1132

Merged
merged 1 commit into from May 13, 2020
Merged

[v1] (backport) Harmonize BeforeError handling #1132

merged 1 commit into from May 13, 2020

Conversation

VirrageS
Copy link

@VirrageS VirrageS commented May 5, 2020

What type of PR is this?

  • bug
  • cleanup
  • documentation
  • feature

What this PR does / why we need it:

See: #1117. I've basically copied the code from v2 to v1. All credits to the author of the fix @creekorful

Which issue(s) this PR fixes:

Fixes: #1081 (but for v1)

Special notes for your reviewer:

For more context see: #1117

Release Notes

Error handling using BeforeFunc is now harmonized between App#RunContext, App#RunAsSubcommand and Command#Run

@VirrageS VirrageS requested a review from a team as a code owner May 5, 2020 07:27
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.

None yet

3 participants