-
Notifications
You must be signed in to change notification settings - Fork 12
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
chore: update panic error handling in containers #173
Conversation
… transformer Signed-off-by: adarsh0728 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the change Adarsh. Could you fix the unit test?
yes! forgot to convert it into draft :) |
Signed-off-by: adarsh0728 <[email protected]>
Signed-off-by: adarsh0728 <[email protected]>
Signed-off-by: adarsh0728 <[email protected]>
Signed-off-by: adarsh0728 <[email protected]>
Signed-off-by: adarsh0728 <[email protected]>
Signed-off-by: adarsh0728 <[email protected]>
Please return the stack trace along with the error message, in future when we want to show errors in the UI, stack traces will help. |
Signed-off-by: adarsh0728 <[email protected]>
Signed-off-by: adarsh0728 <[email protected]>
Signed-off-by: adarsh0728 <[email protected]>
Adds prefix
UDF_EXECUTION_ERROR
in panic mssgs in all containers to use it across SDK's to formalize error from user's code. This will help in debuggability and distinguishing between error in platform and user code.Fixed error handling in case of sideInput, sourceTransformer
Error handling In case of reducer, sessionReducer, reduceStreamer (we are not sending error back in case of panics) to be taken up in separate PR.
Added debug stack in details part which represents a serialized
google.rpc.Status
, the bytes should be parsed as a Protobuf message at client side.fixes #174