Is there a way to propagate original Application Exception class to the client?

Hi @Igor_Polynets1

I want to be able to handle original exceptions that happen on the worker. Is there a way to this?

This is not currently possible, errors thrown from activities and workflows (if non-retriable) are wrapped into a Temporal Failure

As this sample code suggests, you can inspect the internal fields to extract the information

Do I have to parse the sting of the traceback to receive original exception?

Please see the comment here and the linked issue.

Antonio

1 Like