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

Confusing error reporting when the module is missing #8

Open
max-au opened this issue Oct 13, 2022 · 0 comments
Open

Confusing error reporting when the module is missing #8

max-au opened this issue Oct 13, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@max-au
Copy link
Contributor

max-au commented Oct 13, 2022

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
@max-au max-au added enhancement New feature or request good first issue Good for newcomers labels Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant