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

Implement Error Handling and Input Validation in PSAT #606

Open
milindmore22 opened this issue Apr 11, 2024 · 1 comment
Open

Implement Error Handling and Input Validation in PSAT #606

milindmore22 opened this issue Apr 11, 2024 · 1 comment
Assignees
Labels
CLI enhancement New feature or request
Milestone

Comments

@milindmore22
Copy link
Collaborator

milindmore22 commented Apr 11, 2024

Describe the bug
Currently, the PSAT and PSAT CLI might not be catching potential errors during command execution. This can lead to unexpected behavior and frustration for users as reported by users in #600 and #582 (comment)

Additionally, the CLI may not be validating user input before processing it. This can result in errors further down the line and make it difficult for users to understand why their commands are failing.

  • Implement error handling mechanisms to catch exceptions and other issues that arise during command execution.
  • Provide informative and user-friendly error messages that clearly explain the problem encountered.
  • Validate user input before processing commands. This could involve checking for data types, required parameters, and valid ranges.
  • Offer suggestions ( like available option ) for correcting invalid input to guide users towards successful commands.

Desktop (please complete the following information):

  • OS: Windows
  • Browser CLI
  • Version 0.6.0

Additional context
Related #574

@milindmore22 milindmore22 added bug Something isn't working CLI labels Apr 11, 2024
@amedina amedina added this to the v1.0.0 milestone Apr 11, 2024
@amedina amedina added enhancement New feature or request and removed bug Something isn't working labels Apr 11, 2024
@amedina
Copy link
Collaborator

amedina commented Apr 11, 2024

This applies comprehensively to PSAT both CLI and Extension. cc @mohdsayed @maitreyie-chavan

@milindmore22 milindmore22 changed the title Implement Error Handling and Input Validation in PSAT CLI Apr 12, 2024
@maitreyie-chavan maitreyie-chavan modified the milestones: v1.0.0, v1.1 May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI enhancement New feature or request
4 participants