Skip to content

Commit 992c260

Browse files
committed
Catch throw:timeout as returned from Khepri 0.14.0
1 parent f257e11 commit 992c260

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
@@ -306,7 +306,7 @@ wait_for_register_projections(Timeout, Retries) ->
306306
try
307307
register_projections()
308308
catch
309-
throw : {timeout, _ServerId} ->
309+
throw : timeout ->
310310
wait_for_register_projections(Timeout, Retries -1)
311311
end.
312312

0 commit comments

Comments
 (0)