Skip to content

Deserialize traceback from stack trace string in Temporal failures if able #58

@cretz

Description

@cretz

Is your feature request related to a problem? Please describe.

We chain errors when converting from failures by setting __cause__, but there is a report that the chained errors are not logged like normally chained errors

EDIT: We don't rehydrate the traceback from the stack trace string

Describe the solution you'd like

Make sure we log chained errors normally and write a test to ensure it

EDIT: Java parses their string stack trace back to stack trace elements, so we should too. See https://github.com/ionelmc/python-tblib/blob/dd926c1e5dc5bbe5e1fc494443bbac8970c7d3ee/src/tblib/__init__.py#L200 for an example of how to do this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions