mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(portal): ignore expected replication connection failures (#9003)
These are expected during deploys, so don't log them as errors. If the Supervisor fails to start us after exhausting all attempts, it will log an error.
This commit is contained in:
@@ -64,9 +64,8 @@ defmodule Domain.Events.ReplicationConnection do
|
||||
{:ok, pid}
|
||||
|
||||
error ->
|
||||
Logger.error("Failed to start replication connection!",
|
||||
error: inspect(error)
|
||||
)
|
||||
# This is expected in clustered environments.
|
||||
Logger.info("Failed to start replication connection", error: inspect(error))
|
||||
|
||||
error
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user