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

Fix exceptions handling with aplication option set to false #62

Merged
merged 1 commit into from
Feb 19, 2017

Conversation

enumag
Copy link
Member

@enumag enumag commented Sep 21, 2016

kdyby.console:
    application: false

This configuration leads to a nasty bug - if a command throws an exception Kdyby\Console\Application will catch it and pass it to $netteApplication->onError(). The option however removed the binding which means that onError does not have any event handler and the exception is never rendered nor logged.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 82.745% when pulling 2451e93 on enumag:exception-handling into b6ab544 on Kdyby:master.

@enumag
Copy link
Member Author

enumag commented Jan 15, 2017

ping @fprochazka

@fprochazka fprochazka merged commit 0de5fcc into Kdyby:master Feb 19, 2017
@fprochazka
Copy link
Member

@enumag thank you

@enumag
Copy link
Member Author

enumag commented Mar 18, 2017

@fprochazka Can you release v2.6.2 with this commit?

@fprochazka
Copy link
Member

@enumag done :)

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.

3 participants