Issue
There are explicit error handling docs in the python SDK available here. Maybe it would make sense, to have something like that also as part of this repo?
Why I come up with this:
Looking at the docs it feels like all the error handling is fully automatic but I had some weird issues in e.g. a map function: when throwing inside the context.map I thought the underlying errors are still availble via the getErrors function but I wasn't able to get the underlying errror. My workaround was that I try/catched in the map function itself, did a logging there and rethrew, but I have no idea if this is considered best practice.
Page/Location
https://github.com/aws/aws-durable-execution-sdk-python/blob/main/docs/advanced/error-handling.md
Suggested Fix
No response
Issue
There are explicit error handling docs in the python SDK available here. Maybe it would make sense, to have something like that also as part of this repo?
Why I come up with this:
Looking at the docs it feels like all the error handling is fully automatic but I had some weird issues in e.g. a map function: when throwing inside the
context.mapI thought the underlying errors are still availble via thegetErrorsfunction but I wasn't able to get the underlying errror. My workaround was that I try/catched in the map function itself, did a logging there and rethrew, but I have no idea if this is considered best practice.Page/Location
https://github.com/aws/aws-durable-execution-sdk-python/blob/main/docs/advanced/error-handling.md
Suggested Fix
No response