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

Fixes Terraform table/list page crashing #3705

Merged
merged 13 commits into from
Dec 11, 2023
Merged

Fixes Terraform table/list page crashing #3705

merged 13 commits into from
Dec 11, 2023

Conversation

foot
Copy link
Collaborator

@foot foot commented Dec 8, 2023

"Optimistic fix" for https://github.com/weaveworks/weave-gitops-interlock/issues/618

As we cannot actually repro this issue.

What changed?

  • Adds exception handling around date parsing.

Why was this change made?

Customer was seeing an Invalid Date error message, crashing the terraform list page.

How was this change implemented?

Looking at the provided stack trace and guessing where we might avoid the exception they are experiencing.

How did you validate the change?

Added unit tests for this particular case. Assuming this is the place they are seeing the exception though.

@foot foot added the bug Something isn't working label Dec 8, 2023
@foot foot marked this pull request as ready for review December 11, 2023 09:23
Base automatically changed from defensive-tf-handling to main December 11, 2023 09:53
@foot foot merged commit aa8c216 into main Dec 11, 2023
10 checks passed
@foot foot deleted the fixes-tf-ts branch December 11, 2023 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants