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:
Jamil
2025-05-01 17:45:02 -07:00
committed by GitHub
parent b463439093
commit 8a7f248dda

View File

@@ -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