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

bug/MET-5119 intermittent enrichment error #605

Merged
merged 6 commits into from
Apr 7, 2023

Conversation

jeortizquan
Copy link
Contributor

@jeortizquan jeortizquan commented Mar 24, 2023

No description provided.

@jeortizquan jeortizquan changed the title MET-5119 add validation for null in root cause exception and return n… bug/MET-5119 intermittent enrichment error Mar 24, 2023
@jeortizquan jeortizquan marked this pull request as ready for review March 31, 2023 10:36
warningStatus = containsWarningStatus(exception.getMessage());
} else {
warningStatus = containsWarningStatus(rootCause.getMessage());
if (warningStatus != null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this if be outside of the if...else?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. This inner if applies only when the rootCause exists otherwise the exception field can be null if a take it out.

@JoanaCMS JoanaCMS merged commit b66176c into develop Apr 7, 2023
@stzanakis stzanakis deleted the bug/MET-5119_intermittent_enrichment_error branch October 30, 2023 10:26
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