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.
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.