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

[HttpClient] display proper error message on TransportException when curl is used#31586

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:4.3fromnicolas-grekas:hc-fix-msg
May 23, 2019

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?4.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

Reported independently by @GawainLynch and@tgalopin:
the message of TransportException is currently empty when using CurlHttpClient.

This now displays e.g.

  [Symfony\Component\HttpClient\Exception\TransportException]        Couldn't connect to server for http://localhost:8000/index.html

tgalopin and Simperfit reacted with hooray emoji
@nicolas-grekasnicolas-grekas merged commit3273109 intosymfony:4.3May 23, 2019
nicolas-grekas added a commit that referenced this pull requestMay 23, 2019
…ption when curl is used (nicolas-grekas)This PR was merged into the 4.3 branch.Discussion----------[HttpClient] display proper error message on TransportException when curl is used| Q             | A| ------------- | ---| Branch?       | 4.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -Reported independently by @GawainLynch and@tgalopin:the message of TransportException is currently empty when using CurlHttpClient.This now displays e.g.```  [Symfony\Component\HttpClient\Exception\TransportException]  Couldn't connect to server for http://localhost:8000/index.html```Commits-------3273109 [HttpClient] display proper error message on TransportException when curl is used
@nicolas-grekasnicolas-grekas deleted the hc-fix-msg branchMay 28, 2019 10:30
@fabpotfabpot mentioned this pull requestMay 28, 2019
nicolas-grekas added a commit that referenced this pull requestSep 29, 2021
…icolas-grekas)This PR was merged into the 5.4 branch.Discussion----------[HttpClient] improve curl error message when possible| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | no| New feature?  | no| Deprecations? | no| Tickets       |Fix#37666| License       | MIT| Doc PR        | -Fix#37666, improves#31586Commits-------fac0e66 [HttpClient] improve curl error message when possible
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

3 more reviewers

@GwendolenLynchGwendolenLynchGwendolenLynch approved these changes

@tgalopintgalopintgalopin approved these changes

@SimperfitSimperfitSimperfit approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.3

Development

Successfully merging this pull request may close these issues.

5 participants

@nicolas-grekas@GwendolenLynch@tgalopin@Simperfit@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp