Closed ebrarkesici closed 3 months ago
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.
The GetErrors function in pkg/infrastructure/adapter/service/error.go needs to be updated to include errors from Dlr and Authentication services.
This update ensures that errors from Dlr and Authentication services are also included in the returned errors.