Skip to content

[DX] Fixed regression when exception message swallowed when logging it. #20010

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

Merged
merged 1 commit into from
Sep 21, 2016

Conversation

Koc
Copy link
Contributor

@Koc Koc commented Sep 21, 2016

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? maybe, wait for Travis
Fixed tickets fixed regression introduced in #13418
License MIT
Doc PR -

The problem is: after merging referenced PR we cann't understand what error occured and why authentication request failed (see attached screenshot). Previously it displays exception message, but now it only displays class of the exception.

9003644109

@Koc Koc changed the title Fixed regression when exception message swallowed when logging it. [DX] Fixed regression when exception message swallowed when logging it. Sep 21, 2016
@fabpot
Copy link
Member

fabpot commented Sep 21, 2016

👍

2 similar comments
@xabbuh
Copy link
Member

xabbuh commented Sep 21, 2016

👍

@aitboudad
Copy link
Contributor

👍

@fabpot
Copy link
Member

fabpot commented Sep 21, 2016

Thank you @Koc.

@fabpot fabpot merged commit 042cb6b into symfony:2.7 Sep 21, 2016
fabpot added a commit that referenced this pull request Sep 21, 2016
…n logging it. (Koc)

This PR was merged into the 2.7 branch.

Discussion
----------

[DX] Fixed regression when exception message swallowed when logging it.

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | maybe, wait for Travis
| Fixed tickets | fixed regression introduced in #13418
| License       | MIT
| Doc PR        | -

The problem is: after merging referenced PR we cann't understand what error occured and why authentication request failed (see attached screenshot). Previously it displays exception message, but now it only displays class of the exception.

![9003644109](https://cloud.githubusercontent.com/assets/191082/18717550/f0df61c4-8028-11e6-8dbb-684e4928e913.jpg)

Commits
-------

042cb6b Fixed regression when exception message swallowed when logging it.
@Koc Koc deleted the logging-context branch September 23, 2016 19:55
@Koc Koc restored the logging-context branch September 23, 2016 21:43
This was referenced Oct 3, 2016
@Koc Koc deleted the logging-context branch July 23, 2017 10:11
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.

5 participants