Skip to content

Commit 3fc33bc

Browse files
dcorbachomergify[bot]
authored andcommitted
Catch throw:timeout as returned from Khepri 0.14.0
(cherry picked from commit 992c260)
1 parent ccf03c7 commit 3fc33bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_khepri.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ wait_for_register_projections(Timeout, Retries) ->
317317
try
318318
register_projections()
319319
catch
320-
throw : {timeout, _ServerId} ->
320+
throw : timeout ->
321321
wait_for_register_projections(Timeout, Retries -1)
322322
end.
323323

0 commit comments

Comments
 (0)