Skip to content

[Bug] Issue when failing to build activity failure #685

Closed
@cretz

Description

@cretz

Describe the bug

When activity fails, but the failure can't be converted for whatever reason, we build a general failure at

completion.result.Clear()
completion.result.failed.failure.message = (
f"Failed building exception result: {inner_err}"
)
. But we aren't properly building this by putting application failure info in it. We fixed the same issue in .NET recently: temporalio/sdk-dotnet#353. We need to do the same here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions