File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
service/worker/diagnostics Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ const (
4747 RootCauseTypePollersStatus RootCause = "There are pollers for the tasklist. Check backlog status"
4848 RootCauseTypeHeartBeatingNotEnabled RootCause = "HeartBeating not enabled for activity"
4949 RootCauseTypeHeartBeatingEnabledMissingHeartbeat RootCause = "HeartBeating enabled for activity but timed out due to missing heartbeat"
50- RootCauseTypeServiceSideIssue RootCause = "There is an issue in the worker service that is causing this failure. Check identity for service logs"
51- RootCauseTypeServiceSidePanic RootCause = "There is a panic in the activity/workflow that is causing this failure"
52- RootCauseTypeServiceSideCustomError RootCause = "This is a customised error returned by the activity/workflow"
50+ RootCauseTypeServiceSideIssue RootCause = "There is an issue in the worker service that is causing a failure. Check identity for service logs"
51+ RootCauseTypeServiceSidePanic RootCause = "There is a panic in the activity/workflow that is causing a failure"
52+ RootCauseTypeServiceSideCustomError RootCause = "Customised error returned by the activity/workflow"
5353)
5454
5555func (r RootCause ) String () string {
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ func retrieveFailureIssues(issues []invariant.InvariantCheckResult) ([]*failures
269269func retrieveFailureRootCause (rootCause []invariant.InvariantRootCauseResult ) []string {
270270 result := make ([]string , 0 )
271271 for _ , rc := range rootCause {
272- if rc .RootCause == invariant .RootCauseTypeServiceSideIssue {
272+ if rc .RootCause == invariant .RootCauseTypeServiceSideIssue || rc . RootCause == invariant . RootCauseTypeServiceSidePanic || rc . RootCause == invariant . RootCauseTypeServiceSideCustomError {
273273 result = append (result , rc .RootCause .String ())
274274 }
275275 }
You can’t perform that action at this time.
0 commit comments