Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpKernel] CLI - don't always display errors #6370

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 1 commit into from
Closed

[HttpKernel] CLI - don't always display errors #6370

wants to merge 1 commit into from

Conversation

bamarni
Copy link
Contributor

@bamarni bamarni commented Dec 15, 2012

With the cli sapi, imo display_errors shouldn't be hardcoded to true if errors are logged to stderr, as it would likely display duplicate error messages if the user doesn't redirect stderr when running the command (which should be a common case).

@fabpot
Copy link
Member

fabpot commented Dec 15, 2012

But your patch does not just disable display_errors when logging to stderr AFAIU.

@bamarni
Copy link
Contributor Author

bamarni commented Dec 15, 2012

EDIT : yes it does, I've took a look at it again, it is explicitly set to false a few lines above, and this re-enables it only when not logging to stderr (and cli).

@bamarni bamarni closed this Feb 6, 2013
fabpot added a commit that referenced this pull request Mar 18, 2013
This PR was merged into the master branch.

Commits
-------

ed58e36 [HttpKernel] CLI - don't always display errors

Discussion
----------

[HttpKernel] CLI - don't always display errors

I had closed #6370 by mistake when cleaning up my branches.

---------------------------------------------------------------------------

by sstok at 2013-02-13T15:13:16Z

:+1:
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