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 (
47
47
RootCauseTypePollersStatus RootCause = "There are pollers for the tasklist. Check backlog status"
48
48
RootCauseTypeHeartBeatingNotEnabled RootCause = "HeartBeating not enabled for activity"
49
49
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"
53
53
)
54
54
55
55
func (r RootCause ) String () string {
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ func retrieveFailureIssues(issues []invariant.InvariantCheckResult) ([]*failures
269
269
func retrieveFailureRootCause (rootCause []invariant.InvariantRootCauseResult ) []string {
270
270
result := make ([]string , 0 )
271
271
for _ , rc := range rootCause {
272
- if rc .RootCause == invariant .RootCauseTypeServiceSideIssue {
272
+ if rc .RootCause == invariant .RootCauseTypeServiceSideIssue || rc . RootCause == invariant . RootCauseTypeServiceSidePanic || rc . RootCause == invariant . RootCauseTypeServiceSideCustomError {
273
273
result = append (result , rc .RootCause .String ())
274
274
}
275
275
}
You can’t perform that action at this time.
0 commit comments