diff --git a/lib/telemetry_metrics_statsd.ex b/lib/telemetry_metrics_statsd.ex index c165419..9ca8821 100644 --- a/lib/telemetry_metrics_statsd.ex +++ b/lib/telemetry_metrics_statsd.ex @@ -511,6 +511,8 @@ defmodule TelemetryMetricsStatsd do "Failed to resolve the hostname #{host}: #{inspect(reason)}. " <> "Using the previously resolved address of #{:inet.ntoa(current_address)}." ) + + state end Process.send_after(self(), :resolve_host, interval)