Skip to content

api: return reasonable error #35

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

Merged
merged 1 commit into from
Apr 17, 2025

Conversation

themilchenko
Copy link
Contributor

There was "attempt to index local 'httpd' (a nil value)" error that doesn't get any useful information.

This patch adds readable error message that tells you to check if the roles are properly included in the sequence.

Closes #33

@themilchenko themilchenko marked this pull request as ready for review April 8, 2025 16:25
@themilchenko themilchenko force-pushed the themilchenko/gh-33-introduce-readable-error branch from e2d2a33 to 4f34618 Compare April 8, 2025 16:56
There was "attempt to index local 'httpd' (a nil value)" error that
doesn't get any useful information.

This patch adds readable error message that tells you to check if the
roles are properly included in the sequence.

Closes #33
@themilchenko themilchenko force-pushed the themilchenko/gh-33-introduce-readable-error branch from 4f34618 to 8bf5c50 Compare April 14, 2025 07:10
@themilchenko themilchenko merged commit 3396bc0 into master Apr 17, 2025
8 checks passed
@themilchenko themilchenko deleted the themilchenko/gh-33-introduce-readable-error branch April 17, 2025 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

attempt to index nil when trying to apply config
3 participants