4 Answers
- Newest
- Most votes
- Most comments
0
I'm not sure what generic solution would help here. Due to the size limit some information must be lost. IMHO logging the exception from the activity and returning a different exception that misses the stack trace (or part of it) is a reasonable workaround.
answered 5 years ago
0
Thank you Maxim!
Is there any standard mechanism to implement a "stardard global" exception handler in between completion of activity and activity worker process?
Thank you
answered 5 years ago
0
It looks like (https://github.com/aws/aws-swf-flow-library/blob/master/src/main/java/com/amazonaws/services/simpleworkflow/flow/pojo/POJOActivityImplementation.java#L100) that DataConverter is used to serialize the exception. So you can create a custom DataConverter to implement this logic.
answered 5 years ago
Relevant content
- asked 4 months ago
- asked a month ago
- Accepted Answerasked 3 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago