-
Notifications
You must be signed in to change notification settings - Fork 5
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
APR-2985-Gateway-checks-for-prefixed-charities-bug-fix #963
APR-2985-Gateway-checks-for-prefixed-charities-bug-fix #963
Conversation
…of ServiceUnavailableException
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is an oc
@@ -110,7 +110,7 @@ private async Task LookupCharityCommissionDetails(ApplyGatewayDetails applyGatew | |||
var message = | |||
$"Unable to parse charity registration number from charity number in ukrlp: '{charityNumberFromUkrlp}'"; | |||
_logger.LogError(message); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is no longer an error, but an occasional, but expected condition. Can you change .LogError to .LogInformation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps change the message as well. To something like Charity registration number cannot be parsed into a number, skipping getting details from charity commission for {charityNumber}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Kudos, SonarCloud Quality Gate passed! |
No description provided.