Skip to content

Commit 314f5b6

Browse files
committed
Add a warning message that probably nobody will ever see 😆
1 parent c2f43dc commit 314f5b6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

deps/rabbit/src/rabbit_binding.erl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,11 @@ recover_semi_durable_route(Gatherer, Binding, Src, Dst, ToRecover, Fun) ->
109109
Fun(Binding, X),
110110
gatherer:finish(Gatherer)
111111
end);
112-
{error, not_found} -> ok
112+
{error, not_found}=Error ->
113+
rabbit_log:warning(
114+
"expected exchange ~tp to exist during recovery, "
115+
"error: ~tp", [Src, Error]),
116+
ok
113117
end;
114118
false -> ok
115119
end.

0 commit comments

Comments
 (0)