From cb4fa1c1855cf237b1200677a4af8fa3cb6a1e58 Mon Sep 17 00:00:00 2001 From: Jamil Date: Fri, 20 Jan 2023 11:57:13 -0800 Subject: [PATCH] Inspect mailer errors in boot (#1351) Inspect mailer errors https://github.com/firezone/firezone/actions/runs/3970079790 --- config/runtime.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/runtime.exs b/config/runtime.exs index 8bf6988e7..207842ce5 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -104,7 +104,7 @@ if config_env() == :prod do if mailer.valid? do config :fz_http, FzHttpWeb.Mailer, FzHttpWeb.Mailer.from_configuration(mailer) else - Logger.warn("Outbound email not configured. Disabling! Details: #{mailer.errors}") + Logger.warn("Outbound email not configured. Disabling! Details: #{inspect(mailer.errors)}") end else {:error, error} ->