[erlang-questions] [ANN] stacktrace_compat: get_stacktrace() compatibility on OTP 21

Sun Jun 24 00:20:19 CEST 2018

That’s great stuff thanks!


From: erlang-questions-bounces@REDACTED <erlang-questions-bounces@REDACTED> On Behalf Of Guilherme Andrade
Sent: Saturday, June 23, 2018 13:20
To: Erlang-Questions Questions <erlang-questions@REDACTED>
Subject: [erlang-questions] [ANN] stacktrace_compat: get_stacktrace() compatibility on OTP 21


Hello list,

I’m pleased to announce the release of stacktrace_compat 1.0, a workaround for the deprecation of erlang:get_stacktrace() on Erlang/OTP 21.

It intends on smoothing near-future maintenance of projects that are to support both pre- and post-deprecation code by avoiding code duplication or ungainly macros.

It replaces calls to :get_stacktrace() with references to bindings (whether explicit or implicit) that capture the stacktrace using the new syntax.

* Overview: https://github.com/g-andrade/stacktrace_compat/blob/master/README.md
* Hex.pm package: https://hex.pm/packages/stacktrace_compat



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180623/1d9af318/attachment.htm>

More information about the erlang-questions mailing list