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

Create an error nul module #102

Open
arthur91f opened this issue Jan 1, 2023 · 1 comment
Open

Create an error nul module #102

arthur91f opened this issue Jan 1, 2023 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@arthur91f
Copy link
Owner

arthur91f commented Jan 1, 2023

During infra.EnrichBricks() when brick.Enrich() return the error "No matching module name", we should create a default module that will do nothing and return an error each time it is called if not, when calling loadAvailable action we encounter a
panic: runtime error: invalid memory address or nil pointer dereference

And we need to display a warning.

The module should return an error and a 5 status code each time it is called.

@arthur91f arthur91f added this to exeIaC Jan 1, 2023
@arthur91f arthur91f converted this from a draft issue Jan 1, 2023
@arthur91f arthur91f added the bug Something isn't working label Jan 1, 2023
@arthur91f arthur91f added this to the alpha milestone Jan 1, 2023
@arthur91f arthur91f added the help wanted Extra attention is needed label Jan 1, 2023
@half-shell
Copy link
Collaborator

The issue can be triggered by setting a module's name that does not exist.

@arthur91f arthur91f moved this from Todo to In Progress in exeIaC Mar 7, 2023
@arthur91f arthur91f moved this from In Progress to Todo in exeIaC Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

2 participants