Conversation
| catch (Exception ex) | ||
| { | ||
| return new HealthCheckResult(context.Registration.FailureStatus, $"CHES health check failed with exception: {ex.Message}"); | ||
| } |
Check notice
Code scanning / CodeQL
Generic catch clause Note
| catch (Exception ex) | ||
| { | ||
| result.Status = ExternalResponseStatus.Error; | ||
| result.Message = $"Exception sending CHES email: {ex.Message}"; | ||
| result.Payload = null; | ||
| result.HttpStatusCode = System.Net.HttpStatusCode.InternalServerError; | ||
| _logger.LogError(ex, "Exception sending CHES email."); | ||
| } |
Check notice
Code scanning / CodeQL
Generic catch clause Note
d4f59b7 to
1bf6579
Compare
|
See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5252 |
1 similar comment
|
See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5252 |
376598d to
08842ad
Compare
|
See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5252 |
08842ad to
316be9f
Compare
|
See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5252 |
|
I am not sure if this is the architecture we should use. I was expecting something similar to the "Scheduler" service for documents ( async => de-coupled micro-service). |
6957cef to
b8ef315
Compare
|
See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5252 |
|
|
See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5252 |


Sample payload:
Note: Retrieve secrets from OCP dev environment.
Jira