Skip to content
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.

User friendly error message when option is not defined #148

Closed
domenkozar opened this issue Apr 21, 2013 · 2 comments
Closed

User friendly error message when option is not defined #148

domenkozar opened this issue Apr 21, 2013 · 2 comments

Comments

@domenkozar
Copy link
Member

Currently, when one does

services.postgresql.enable = true;

it fails with:

user-thrown exception: Not defined.

Due to postgresql.packages not specified, I think we could at least display what option is missing.

@edolstra
Copy link
Member

edolstra commented Jun 4, 2013

Closing as a special case of issue #15. Note that the stack trace actually does show the name of the undefined option ("while evaluating the option `services.postgresql.package': ...") but it's obscured in the stack trace.

@edolstra edolstra closed this as completed Jun 4, 2013
@domenkozar
Copy link
Member Author

See 4278f77

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants