Skip to content

Don't use erlang:get_stacktrace/0 in OTP >= 21 #315

@mikpe

Description

@mikpe

As of OTP-23 erlang:get_stacktrace/0 doesn't work in any meaningful way, so we need to replace its uses in source and tests with the OTP-21 syntax for binding the stack trace in exception handling clauses.

The question is whether we can do this unconditionally, thus raising the oldest supported OTP to OTP-21, or if you want some conditional compilation macrology to handle OTP < 21 as well as OTP >= 21? (We have standard macros for this scenario, but avoiding them is nicer.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions