fix: incorrect handling of Mint stream failure.
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
James Harton 2024-06-23 16:00:51 +12:00
parent d4d38b7b34
commit 384257a33f
Signed by: james
GPG key ID: 90E82DAA13F624F4

View file

@ -52,8 +52,8 @@ defmodule Wayfarer.Target.Check do
:unknown ->
check_failed(state, "Received unknown message: `#{inspect(message)}`")
{:error, reason} ->
check_failed(state, reason)
{:error, _conn, error, _responses} ->
check_failed(state, error)
end
end