temporalio / sdk-python

Temporal Python SDK
MIT License
473 stars 77 forks source link

[Feature Request] Clarify exception on return type decoding failure #536

Open cretz opened 6 months ago

cretz commented 6 months ago

Describe the solution you'd like

Today in child workflow for instance if the return type is not the expected, it says "Failed decoding arguments". It should say "Failed to decode return value on ". Same for activities (and make sure it's clear what child/activity failed to encode if needed too).