Skip to content

Commit a87072c

Browse files
Compile from scratch on Erlang 24, part 2
1 parent 3f19b9f commit a87072c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbitmq_prometheus/src/collectors/prometheus_rabbitmq_alarm_metrics_collector.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ collect_mf(_Registry, Callback) ->
7171
end
7272
catch
7373
exit:{timeout, _} ->
74-
rabbit_log:error("alarm_metrics_collector failed to emit metrics: "
75-
"rabbitm_alarm:get_local_alarms timed out"),
74+
_ = rabbit_log:error("alarm_metrics_collector failed to emit metrics: "
75+
"rabbitm_alarm:get_local_alarms timed out"),
7676
%% We are not going to render any alarm metrics here.
7777
%% Breaks continuity but at least doesn't crash the
7878
%% whole scraping endpoint

0 commit comments

Comments
 (0)