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

chg: be more precise in error message on config file. #378

Closed
wants to merge 1 commit into from

Conversation

@vaab
Copy link
Contributor

vaab commented Jan 30, 2015

We can be more helpful when the main config file throws a parser error.

@pydanny pydanny added the enhancement label Mar 17, 2015
@hackebrot

This comment has been minimized.

Copy link
Member

hackebrot commented Mar 20, 2015

See #379

@vaab vaab force-pushed the 0k:pr-better-error-msg branch from 4985a4c to 3852ce0 Mar 27, 2015
@vaab

This comment has been minimized.

Copy link
Contributor Author

vaab commented Mar 27, 2015

Rebased

raise InvalidConfiguration(
'{0} is no a valid YAML file'.format(config_path))
'{0} is no a valid YAML file: line {1}: {2}'.format(

This comment has been minimized.

Copy link
@michaeljoseph

michaeljoseph Apr 10, 2015

Collaborator

is not...

This comment has been minimized.

Copy link
@vaab

vaab Apr 10, 2015

Author Contributor

thx, corrected.

@vaab vaab force-pushed the 0k:pr-better-error-msg branch from 3852ce0 to c12ac51 Apr 10, 2015
hackebrot added a commit to hackebrot/cookiecutter that referenced this pull request Sep 24, 2015
hackebrot added a commit that referenced this pull request Sep 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.