diff --git a/service/client/cadence/client.go b/service/client/cadence/client.go index 7501e7ef..3c6f869b 100644 --- a/service/client/cadence/client.go +++ b/service/client/cadence/client.go @@ -91,12 +91,8 @@ func (t *cadenceClient) GetApplicationErrorDetails(err error, detailsPtr interfa func (t *cadenceClient) GetApplicationErrorTypeAndDetails(err error) (string, string) { errType := t.GetApplicationErrorTypeIfIsApplicationError(err) - var errDetails string - detailErr := t.GetApplicationErrorDetails(err, &errDetails) - if detailErr != nil { - errDetails = detailErr.Error() - } - return errType, errDetails + // TODO: Error Details will be added under IWF-511 + return errType, "" } func NewCadenceClient( diff --git a/service/client/temporal/client.go b/service/client/temporal/client.go index 74d09c63..a2f4a3ed 100644 --- a/service/client/temporal/client.go +++ b/service/client/temporal/client.go @@ -119,12 +119,8 @@ func (t *temporalClient) GetApplicationErrorDetails(err error, detailsPtr interf func (t *temporalClient) GetApplicationErrorTypeAndDetails(err error) (string, string) { errType := t.GetApplicationErrorTypeIfIsApplicationError(err) - var errDetails string - detailErr := t.GetApplicationErrorDetails(err, &errDetails) - if detailErr != nil { - errDetails = detailErr.Error() - } - return errType, errDetails + // TODO: Error Details will be added under IWF-511 + return errType, "" } func (t *temporalClient) StartInterpreterWorkflow(