Skip to content

Commit c723f91

Browse files
OTP 21 compatibility
1 parent 1c029c9 commit c723f91

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/rabbit_sysmon_handler.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525

2626
-behaviour(gen_event).
2727

28+
%% Transitional step until we can require Erlang/OTP 21 and
29+
%% use the now recommended try/catch syntax for obtaining the stack trace.
30+
-compile(nowarn_deprecated_function).
31+
2832
%% API
2933
-export([add_handler/0]).
3034

0 commit comments

Comments
 (0)