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

Improve error Messages for ws_makemigration and ws_migrate commands #170

Closed
shahharsh176 opened this issue Mar 28, 2024 · 2 comments · Fixed by #258
Closed

Improve error Messages for ws_makemigration and ws_migrate commands #170

shahharsh176 opened this issue Mar 28, 2024 · 2 comments · Fixed by #258
Assignees
Labels
feature New feature request good first issue Good for newcomers

Comments

@shahharsh176
Copy link
Contributor

Description

Improve error Messages for various scenarios in ws_makemigration and ws_migrate commands

Background

Both ws_makemigration and ws_migrate commands require arguments. When invalid values are passed as arguments, clear and informative error messages should be raised to guide users in resolving issues.

Please find the list of scenarios and error messages in the Feature Details sections

Feature Details

Failure Scenarios

1. Invalid app_name

If an invalid app_name is supplied in the ws_makemigration or ws_migrate command, the following error message should be displayed:

The app name '{app_name provided by user}' provided as an argument is invalid. 
Please ensure that you have entered the correct app name and try again.
@shahharsh176 shahharsh176 added feature New feature request good first issue Good for newcomers labels Mar 28, 2024
@AjaySDwivedi1
Copy link
Contributor

Can I work on this?

@ChrisMcLernon
Copy link
Contributor

#258

@shahharsh176 shahharsh176 linked a pull request Jun 21, 2024 that will close this issue
kc-diabeat pushed a commit that referenced this issue Jun 24, 2024
* modified:   backend/src/zango/apps/appauth/models.py

* modified:   backend/src/zango/cli/start_project.py

* modified:   backend/src/zango/cli/start_project.py

* modified:   backend/src/zango/cli/start_project.py

* Made corrections

* Fixes

* fixed user credential clears

* fix:#170 error handling message #171

* small adjustment to tenantobj to keep consistent

* Fixes: 6-21-2024

* fixed requested issues

* Update ws_makemigration.py

---------

Co-authored-by: Chris McLernon <[email protected]>
Co-authored-by: chris-mclernon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants