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

Skip to content

Issue #1523#1531

Merged
yatsukhnenko merged 1 commit into
developfrom
issue.1523
May 12, 2019
Merged

Issue #1523#1531
yatsukhnenko merged 1 commit into
developfrom
issue.1523

Conversation

@yatsukhnenko

Copy link
Copy Markdown
Member

Add server address to exception message.

Add server address to exception message.
@michael-grunder

Copy link
Copy Markdown
Member

This seems fine, but we should probably try to give people a head's up about it:
https://github.com/search?l=PHP&p=1&q=%22read+error+on+connection%22&type=Code

@yatsukhnenko

Copy link
Copy Markdown
Member Author

@michael-grunder what if we will add server address to all exceptions and add the notice to documentation that all exceptions ware changed?

@yatsukhnenko

Copy link
Copy Markdown
Member Author

Also there may be different code for every exception (now zero is everywhere) so users will not need to compare exception messages.

@michael-grunder

Copy link
Copy Markdown
Member

Yeah unique error codes are probably useful too.

We're allowed to break things for 5.0.0 but if we can let downstream users know they'd probably appreciate it.

On the other hand they might just completely ignore any warnings until they upgrade and then come yell at us. 🤣

@yatsukhnenko yatsukhnenko merged commit 34c8c68 into develop May 12, 2019
@yatsukhnenko yatsukhnenko deleted the issue.1523 branch May 12, 2019 20:15
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