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

[Mailer] Ensure TransportExceptionInterface populates stream debug data#59610

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
fabpot merged 1 commit intosymfony:6.4frombytestream:mailer-debug
Jan 25, 2025

Conversation

bytestream
Copy link
Contributor

QA
Branch?6.4
Bug fix?yes
New feature?no
Deprecations?no
Issues
LicenseMIT

There is a discrepancy whenTransportExceptionInterface is thrown. Sometimes$e->getDebug() is'' and other times it contains information. Similarly,$transport->getStream()->getDebug(); sometimes returns'' because something else has already beaten you to the call...

This results in you having to do something like the following to get the debug log...

} catch (TransportExceptionInterface $e) {    $log = $e->getDebug() ?: $transport->getStream()->getDebug();

This PR ensures that anyTransportExceptionInterface thrown bysend() sets the debug information. The notable case where this occurs is inhandleAuth which is part ofstart (doHeloCommand).

@fabpot
Copy link
Member

Thank you@bytestream.

@fabpotfabpot merged commit2f69270 intosymfony:6.4Jan 25, 2025
11 checks passed
This was referencedJan 29, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fabpotfabpotfabpot approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
6.4
Development

Successfully merging this pull request may close these issues.

3 participants
@bytestream@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp