aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gun.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gun.erl b/src/gun.erl
index dbf4407..75dc5b8 100644
--- a/src/gun.erl
+++ b/src/gun.erl
@@ -14,6 +14,10 @@
-module(gun).
+-ifdef(OTP_RELEASE).
+-compile({nowarn_deprecated_function, [{erlang, get_stacktrace, 0}]}).
+-endif.
+
%% Connection.
-export([open/2]).
-export([open/3]).