Skip to content

Commit

Permalink
Add warning log
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-martinez committed Jun 14, 2024
1 parent f8bb4c6 commit 68587a5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ defmodule LenraWeb.RunnerController do
try do
GenServer.stop({:global, {Kubernetes.Status, build_id}})
catch
:exit, {:noproc, _} -> :ok
:exit, {:noproc, _} ->
Logger.warning("Could not stop Kubernetes.Status with build_id : `#{build_id}` because it was already stopped or has crashed.")
:ok
end
end

Expand Down

0 comments on commit 68587a5

Please sign in to comment.