From ff40a933a50172927283c996e3691f0421d4d7b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Tue, 5 Dec 2023 09:03:59 +1000 Subject: [PATCH] Use warning instead of error for version check, closes #2381 (#2382) --- lib/livebook/update_check.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/livebook/update_check.ex b/lib/livebook/update_check.ex index 774f87004..be0f83bf5 100644 --- a/lib/livebook/update_check.ex +++ b/lib/livebook/update_check.ex @@ -88,7 +88,7 @@ defmodule Livebook.UpdateCheck do schedule_check(state, @day_in_ms) {:error, error} -> - Logger.error("version check failed, #{error}") + Logger.warning("version check failed, #{error}") schedule_check(state, @hour_in_ms) end @@ -96,7 +96,7 @@ defmodule Livebook.UpdateCheck do end def handle_info({:DOWN, ref, :process, _pid, reason}, %{request_ref: ref} = state) do - Logger.error("version check failed, reason: #{inspect(reason)}") + Logger.warning("version check failed, reason: #{inspect(reason)}") {:noreply, %{state | request_ref: nil} |> schedule_check(@hour_in_ms)} end