From 65f678526d9beaec4c409b2050bf33e6b9895ea0 Mon Sep 17 00:00:00 2001 From: Stas Date: Tue, 11 Jul 2023 15:28:50 +0300 Subject: [PATCH] Update lib/supavisor/client_handler.ex Co-authored-by: Wojtek Mach --- lib/supavisor/client_handler.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/supavisor/client_handler.ex b/lib/supavisor/client_handler.ex index 57ffb4de..784572dc 100644 --- a/lib/supavisor/client_handler.ex +++ b/lib/supavisor/client_handler.ex @@ -115,7 +115,7 @@ defmodule Supavisor.ClientHandler do {:error, reason} -> Logger.error("User not found: #{inspect(reason)} #{inspect({user, external_id})}") - send_error(sock, "XX000", "Tenant or user not found") + :ok = send_error(sock, "XX000", "Tenant or user not found") {:stop, :normal, data} end end