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

Logging and error handling improvements, bug fixes #21

Merged
merged 18 commits into from
Sep 21, 2023

Conversation

hcsa73
Copy link
Contributor

@hcsa73 hcsa73 commented Sep 20, 2023

  • Uniformed logs and diagnostics:
    • Logging and adding to diagnostics is done by the highest level function (Create/Read/Update/Delete/Import) using LogAndAddError
    • Lower-level routines' signature changed to return error instead of writing to diagnostics
    • Standardize summary and details across services
    • Removed manual adding of relevant variables to details (they're in the context, TF adds them to logs)
  • Changed validators to be closer to official implementation
  • Fix logging wrong output after wait
  • Fix Argus checking wrong diagnostics
  • Fix Resource Manager not updating state after project update
  • Fix unnecessary pointer in LogAndAddError

@hcsa73 hcsa73 merged commit 4e8514d into main Sep 21, 2023
1 check passed
@hcsa73 hcsa73 deleted the hs/logging-error-handiling-improvements branch September 21, 2023 13:52
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

Successfully merging this pull request may close these issues.

2 participants