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

Proper error message for init command #204

Closed
mingrammer opened this issue May 21, 2018 · 0 comments
Closed

Proper error message for init command #204

mingrammer opened this issue May 21, 2018 · 0 comments
Assignees

Comments

@mingrammer
Copy link

This is not a bug, but we should improve it.

When I have already migrations directory and run flask db init, it raises an exception with Python exception traceback (alembic.util.exc.CommandError: Directory migrations already exists)

Yes it is correct. But, this error message just seems like a bug of flask tool. So I think it is better that flask db init should have a proper error message instead of raises exception for this situation.

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

No branches or pull requests

2 participants