Skip to content

i have crash If some .app is not presented  #858

Open
@loguntsov

Description

@loguntsov

I have this view from Rebar3 with DIAGNOSTIC=1
Seems it can't find some file. I will determine what file, but could you add in your code for next releases throwing of exception with filename.

===> Solving Release mzbench_api-0.6.0
===> Uncaught error in rebar_core. Run with DIAGNOSTIC=1 to see stacktrace or consult rebar3.crashdump
===> Uncaught error: {badmatch,{error,enoent}}
===> Stack trace to the error location:
[{rlx_resolve,to_app,3,
              [{file,"/opt/rebar3/_build/default/lib/relx/src/rlx_resolve.erl"},
               {line,197}]},
 {rlx_resolve,find_app_in_code_path,2,
              [{file,"/opt/rebar3/_build/default/lib/relx/src/rlx_resolve.erl"},
               {line,180}]},
 {rlx_resolve,subset,6,
              [{file,"/opt/rebar3/_build/default/lib/relx/src/rlx_resolve.erl"},
               {line,66}]},
 {rlx_resolve,solve_release,2,
              [{file,"/opt/rebar3/_build/default/lib/relx/src/rlx_resolve.erl"},
               {line,47}]},
 {relx,build_release_,3,
       [{file,"/opt/rebar3/_build/default/lib/relx/src/relx.erl"},{line,170}]},
 {relx,build_release,3,
       [{file,"/opt/rebar3/_build/default/lib/relx/src/relx.erl"},{line,77}]},
 {rebar_relx,do,2,[{file,"/opt/rebar3/src/rebar_relx.erl"},{line,67}]},
 {rebar_core,do,2,[{file,"/opt/rebar3/src/rebar_core.erl"},{line,155}]}]
===> When submitting a bug report, please include the output of `rebar3 report "your command"`

Thank you.

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