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

🐛 Supplying no --config value errors #41

Open
gvee-uk opened this issue Jun 29, 2022 · 0 comments
Open

🐛 Supplying no --config value errors #41

gvee-uk opened this issue Jun 29, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@gvee-uk
Copy link
Contributor

gvee-uk commented Jun 29, 2022

If you run the app without supplying a value for the --config argument (either on the command line or via environment variables) then the following exception is thrown:

\src\sql-deployment-tools.py", line 57, in <module>
    if not args.config.name.endswith(".toml"):
AttributeError: 'Namespace' object has no attribute 'config'

Note, this might be fixed as part of the work to swap from argparser (@EuanMason is working on #5), but raising the issue to track to see if the behaviour is still present then.

@gvee-uk gvee-uk added the bug Something isn't working label Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant