Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve how we handle/surface errors in multi-language components #6933

Open
Tracked by #1971 ...
infin8x opened this issue Apr 29, 2021 · 1 comment · May be fixed by #16132
Open
Tracked by #1971 ...

Improve how we handle/surface errors in multi-language components #6933

infin8x opened this issue Apr 29, 2021 · 1 comment · May be fixed by #16132
Labels
area/component-packages aka multi-language components kind/enhancement Improvements or new features size/M Estimated effort to complete (up to 5 days).

Comments

@infin8x
Copy link
Contributor

infin8x commented Apr 29, 2021

From @t0yv0:

I would like us to pay attention to how failures present themselves to the user. (1) "type" error having either the component's SDK or implementation generate a value that does not match the declared schema; how do we attribute the fault and present this error nicely, or how do we make sure this never happens; (2) general unhandled error inside the implementation; how do we label the error with the component at fault and preserve the original lang stack trace. Just a little bit of attention here would go a long way. In our current code, the default behavior in these cases is not great.

@infin8x infin8x added area/component-packages aka multi-language components kind/enhancement Improvements or new features labels Apr 29, 2021
@infin8x infin8x added the size/M Estimated effort to complete (up to 5 days). label Jun 11, 2021
@EronWright
Copy link
Contributor

EronWright commented Feb 23, 2024

A great enhancement along these lines would be to be able to return validation errors from the Construct RPC, as one can do with the Call RPC. See: #16132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/component-packages aka multi-language components kind/enhancement Improvements or new features size/M Estimated effort to complete (up to 5 days).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants