Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OTP-21] Deprecation of erlang:get_stacktrace() call #9

Open
maximvl opened this issue Dec 4, 2018 · 1 comment
Open

[OTP-21] Deprecation of erlang:get_stacktrace() call #9

maximvl opened this issue Dec 4, 2018 · 1 comment

Comments

@maximvl
Copy link

maximvl commented Dec 4, 2018

Hi, the new Erlang 21 is deprecating erlang:get_stacktrace() in order to replace with a new feature to retrieve the stacktrace only in the catch clause. Currently I can see this call being used in xdb_lib.erl.

For now it is possible to silence the warning and make the project compilable. Another option would be to pass exception across all the calls between a catch and xdb_lib:raise, or overall exception strategy should be changed.

What do you think should be the best way to go about it?

@amilkr
Copy link

amilkr commented Dec 5, 2018

I talked to @cabol , we agreed on replacing the erlang:raise/3 calls to error/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants