Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Messenger] Added more descriptive exception message when handling of a message failed#39423

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:5.xfromloevgaard:4.4
Dec 10, 2020

Conversation

@loevgaard
Copy link
Contributor

QA
Branch?4.4
Bug fix?no (more of a patch thing)
New feature?no
Deprecations?no
LicenseMIT

I use Symfony Messenger extensively and I run into theHandlerFailedException from time to time. What bothers me is that the exception doesn't carry the name of the message that failed right there in the exception message.

Here is an example from Sentry:

image

As you can see I get the error message, but I have to look through all my messages (in different bundles etc) to find the sinner.

This PR adds the message name directly to the exception message.

@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has acontribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (seehttps://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (seehttps://symfony.com/releases)
  • Features and deprecations must be submitted against the 5.x branch.

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks. This is an improvement, it should thus go on 5.x

@chalasrchalasr modified the milestones:4.4,5.xDec 10, 2020
@loevgaardloevgaard changed the base branch from4.4 to5.xDecember 10, 2020 20:19
@loevgaard
Copy link
ContributorAuthor

@nicolas-grekas: I fixed your comments and changed the base :)

@nicolas-grekas
Copy link
Member

Thank you@loevgaard.

@nicolas-grekasnicolas-grekas merged commitfccb4c9 intosymfony:5.xDec 10, 2020
@loevgaard
Copy link
ContributorAuthor

That was fast,@nicolas-grekas. Thank you very much!

@loevgaardloevgaard deleted the 4.4 branchDecember 10, 2020 20:27
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@srozesrozeAwaiting requested review from sroze

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

4 participants

@loevgaard@carsonbot@nicolas-grekas@chalasr

[8]ページ先頭

©2009-2025 Movatter.jp