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

Streamline logging and error handling for API management commands #1259

Open
exalate-issue-sync bot opened this issue Dec 17, 2024 · 0 comments
Open
Assignees

Comments

@exalate-issue-sync
Copy link

exalate-issue-sync bot commented Dec 17, 2024

For all of our management commands:

  • make output consistent.
    • output to stdout in some other consistent way (observe how build in django commands implement this)
    • make sure solution works well locally and on cloud.gov with cf run-task on both success and failure
  • exit with sys.exit(1) on failures (When running cf run-task, the task should fail)
  • consider ways to centralize solution with helper functions or inheritance.

QA Notes

null

DEV Notes

null

Design

null

See full ticket and images here: FECFILE-1898

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

No branches or pull requests

1 participant