Skip to content

Commit d729022

Browse files
dcorbachomergify[bot]
authored andcommitted
Handle timeout_waiting_for_khepri_projections on cli commands
(cherry picked from commit cdff2ae)
1 parent 3fc33bc commit d729022

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deps/rabbitmq_cli/lib/rabbitmq/cli/default_output.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ defmodule RabbitMQ.CLI.DefaultOutput do
8282
{:error, RabbitMQ.CLI.Core.ExitCodes.exit_tempfail(), khepri_timeout_error(node_name)}
8383
end
8484

85+
defp format_khepri_output({:error, :timeout_waiting_for_khepri_projections}, %{node: node_name}) do
86+
{:error, RabbitMQ.CLI.Core.ExitCodes.exit_tempfail(), khepri_timeout_error(node_name)}
87+
end
88+
8589
defp format_khepri_output(result, _opts) do
8690
result
8791
end

0 commit comments

Comments
 (0)