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

Pelemay doesn't seem to show CpuInfo.all_profile into Logger.error in case of an error when it will generate makefile #133

Open
zacky1972 opened this issue May 11, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@zacky1972
Copy link
Collaborator

zacky1972 commented May 11, 2020

Describe the bug
(ref #128)

Pelemay doesn't seem to show CpuInfo.all_profile into Logger.error in case of an error when it will generate makefile

To Reproduce

  1. Modify ~/lib/pelemay/generator/builder.ex to raise "Build error." when called generate_makefile/4 in any case.
  2. See an error without Logger.error:
== Compilation error in file test/support/sample.ex ==
** (RuntimeError) Build error.
    lib/pelemay/generator/builder.ex:123: Pelemay.Generator.Builder.generate_makefile/4
    lib/pelemay/generator/builder.ex:232: Pelemay.Generator.Builder.generate/1
    expanding macro: Pelemay.defpelemay/1
    test/support/sample.ex:12: Sample (module)

Expected behavior
Pelemay should show CpuInfo.all_profile in any case of an error.

Screenshots
None.

Desktop (please complete the following information):

Later than Pelemay 0.0.11

Additional context
None.

@zacky1972 zacky1972 added the bug Something isn't working label May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant