Skip to content
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

throwConnectionExceptions doesn't cause exception if configured service isn't running #63

Open
trea opened this issue May 11, 2024 · 0 comments

Comments

@trea
Copy link

trea commented May 11, 2024

I installed and published the configuration of the league/statsd package in a Laravel 10.x application running on PHP 8.3.

I expected that since I didn't have any Statsd or any other service running on the configured address and port that the throwConnectionExceptions configuration setting being set to true would result in an exception either at application boot time or when metrics were being pushed to Statsd.

Unfortunately, I found that no exception was thrown despite there being no listening service on the configured host:port.

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

No branches or pull requests

1 participant