Skip to content

[Console] fix: throw exception on console command uncaught error #48610

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

Closed
wants to merge 4 commits into from

Conversation

jeremyFreeAgent
Copy link
Contributor

Q A
Branch? 6.2
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

Throw uncaught Error.

To avoid that message (and better DX):

In Application.php line 312:
                                        
  Warning: Undefined variable $command

@jeremyFreeAgent jeremyFreeAgent changed the title fix: throw exception on console command uncaught error [Console] fix: throw exception on console command uncaught error Dec 12, 2022
@chalasr
Copy link
Member

chalasr commented Dec 12, 2022

👋
Looks like a duplicate of #48580 😬 Would you mind looking at it to see if something's missing?

@nicolas-grekas
Copy link
Member

Closing in favor of #48580, thanks for submitting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants