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

Update GetErrors Function to Include Dlr and Auth Errors #63

Closed
ebrarkesici opened this issue May 17, 2024 · 0 comments
Closed

Update GetErrors Function to Include Dlr and Auth Errors #63

ebrarkesici opened this issue May 17, 2024 · 0 comments
Assignees
Labels

Comments

@ebrarkesici
Copy link
Member

The GetErrors function in pkg/infrastructure/adapter/service/error.go needs to be updated to include errors from Dlr and Authentication services.

dlrErrors := a.GetErrorsDynamic(ctx, "GetDlrErrors", tconfig.GetInternalConfigInstance().Grpc.DlrHost, tconfig.GetInternalConfigInstance().Grpc.DlrPort)
authenticationErrors := a.GetErrorsDynamic(ctx, "GetAuthenticationErrors", tconfig.GetInternalConfigInstance().Grpc.AuthenticationHost, tconfig.GetInternalConfigInstance().Grpc.AuthenticationPort)
pbResults.Errors = append(pbResults.Errors, dlrErrors.Errors...)
pbResults.Errors = append(pbResults.Errors, authenticationErrors.Errors...)

This update ensures that errors from Dlr and Authentication services are also included in the returned errors.

@ebrarkesici ebrarkesici changed the title Update GetErrors Function to Include Dlr and Authentication Errors Update GetErrors Function to Include Dlr Errors May 17, 2024
@ebrarkesici ebrarkesici changed the title Update GetErrors Function to Include Dlr Errors Update GetErrors Function to Include Dlr and Auth Errors May 17, 2024
@Feyzanrs Feyzanrs self-assigned this May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants