Skip to content

Confusing error reporting when the module is missing #8

@max-au

Description

@max-au

Example:

4> power_shell:export(non_existing, [{function, 2}]).
=CRASH REPORT==== 12-Oct-2022::18:18:37.112113 ===
  crasher:
    initial call: power_shell:sentinel/3
    pid: <0.228.0>
    registered_name: []
    exception error: undefined function non_existing:module_info/1
      in function  power_shell:sentinel/3 (/home/max-au/git/max-au/power_shell/src/power_shell.erl, line 99)
    ancestors: [<0.226.0>]
    message_queue_len: 0
    messages: []
    links: [<0.226.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 233
    stack_size: 28
    reductions: 157

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions