diff --git a/components/nexusoperations/executors.go b/components/nexusoperations/executors.go index e29a073836e6..d0d024031f92 100644 --- a/components/nexusoperations/executors.go +++ b/components/nexusoperations/executors.go @@ -339,7 +339,11 @@ func (e taskExecutor) saveResult(ctx context.Context, env hsm.Environment, ref h case string((&commonpb.Link_WorkflowEvent{}).ProtoReflect().Descriptor().FullName()): link, err := ConvertNexusLinkToLinkWorkflowEvent(nexusLink) if err != nil { - // silently ignore for now + // TODO(rodrigozhou): ignore error for now + e.Logger.Error( + fmt.Sprintf("failed to parse link to %q: %s", nexusLink.Type, nexusLink.URL), + tag.Error(err), + ) continue } links = append(links, &commonpb.Link{ diff --git a/service/frontend/nexus_handler.go b/service/frontend/nexus_handler.go index 0b49f3958218..70ec5b6edcee 100644 --- a/service/frontend/nexus_handler.go +++ b/service/frontend/nexus_handler.go @@ -393,7 +393,8 @@ func (h *nexusHandler) StartOperation( for _, link := range t.AsyncSuccess.GetLinks() { linkURL, err := url.Parse(link.Url) if err != nil { - // silently ignore for now + // TODO(rodrigozhou): ignore error for now + oc.logger.Error(fmt.Sprintf("failed to parse link url: %s", link.Url), tag.Error(err)) continue } nexusLinks = append(nexusLinks, nexus.Link{