-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IWF-511: [iWF] Add a error field to the IwfEvent struct #544
Conversation
service/client/cadence/client.go
Outdated
@@ -89,6 +89,12 @@ func (t *cadenceClient) GetApplicationErrorDetails(err error, detailsPtr interfa | |||
return fmt.Errorf("not an application error. Critical code bug") | |||
} | |||
|
|||
func (t *cadenceClient) GetApplicationErrorTypeAndDetails(err error) (string, string) { | |||
errType := t.GetApplicationErrorTypeIfIsApplicationError(err) | |||
// TODO: Error Details will be added under IWF-511 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't this PR for IWF-511? when will the details be added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad 😄 That's not the correct number. Fixed now ✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a good way forward, but would defer to @lwolczynski for approval before merging
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #544 +/- ##
==========================================
+ Coverage 65.89% 66.08% +0.19%
==========================================
Files 62 62
Lines 6872 6927 +55
==========================================
+ Hits 4528 4578 +50
- Misses 2065 2070 +5
Partials 279 279 ☔ View full report in Codecov by Sentry. |
Description
Checklist