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

Bluepill swallows unknown process configuraton attributes silently #40

Open
djmaze opened this issue Oct 6, 2015 · 0 comments
Open

Comments

@djmaze
Copy link

djmaze commented Oct 6, 2015

I ported some configuration over from eye. As there was no error when launching bluepill, I assumed all options are working correctly.

I now discovered I was using a non-existing option inside a process block. As it turns out, bluepill accepts any option given in a process block. But only known options will be used. As a consequence, it is impossible to determine which options are actually being used. It was rather surprising and hard to find out the cause of these problems.

In my opinion, this is actually bad behaviour for a Ruby DSL. A configuration file which contains invalid options should lead to an error instead. I believe this would be rather easy to implement. Please consider adjusting the code accordingly.

That said, thanks for the the work on a very useful project!

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

No branches or pull requests

1 participant