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

Build failure on OTP 22 #87

Open
tmcgilchrist opened this issue Jul 3, 2018 · 0 comments
Open

Build failure on OTP 22 #87

tmcgilchrist opened this issue Jul 3, 2018 · 0 comments

Comments

@tmcgilchrist
Copy link

Due to the deprecation of erlang:get_stack_trace() erlang/otp#1783

===> Compiling _build/default/lib/clique/src/clique_test_group_leader.erl failed
_build/default/lib/clique/src/clique_test_group_leader.erl:118: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace

The simple fix is to update the catch to the new try/catch syntax but that'll break older versions. Otherwise adding an ignore deprecations flag to the project should work.

    try apply(M, F, A) of
        Chars ->
            io_request({put_chars, Chars}, State)
    catch C:T:S ->
            {{error, {C,T, S}}, State}
    end;
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

1 participant