Skip to content

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

@maximvl

Description

@maximvl

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions