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

Provide detailed error objects #45

Open
multimeric opened this issue Sep 9, 2020 · 0 comments
Open

Provide detailed error objects #45

multimeric opened this issue Sep 9, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@multimeric
Copy link
Collaborator

We have a few "expected" errors:

  • We killed the execution of the command because it timed out (in one of 3 ways)
  • We were given a string to parse that is too long

In these cases, we currently return an empty command which is implicitly "failed" since it has no arguments.

However, in these situations it is likely more helpful to throw an exception. This should be handled such that:

  • When running the CLI, this message is returned to the user (likely via logging)
  • When running via the Python API, this can be caught
  • When running in the Automation repo, we can store a structured error
@multimeric multimeric self-assigned this Sep 9, 2020
@multimeric multimeric added this to the 3.0.0 milestone Sep 16, 2020
@multimeric multimeric added the enhancement New feature or request label Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant