Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Error reporting from program running in VM #28

Open
tuommaki opened this issue Jan 11, 2024 · 0 comments
Open

Error reporting from program running in VM #28

tuommaki opened this issue Jan 11, 2024 · 0 comments

Comments

@tuommaki
Copy link
Contributor

tuommaki commented Jan 11, 2024

Current gRPC service & shim interface lacks support for proper error reporting from program running in VM.

While the error won't be visible in the JSON-RPC API nor in the blockchain, ultimately, it should be still logged by Gevulot node for debugging purposes.

Add reasonable error type with error code (int) and message (string) to gRPC service and corresponding shim APIs.

NOTE: Update GitBook's Program Development page with corresponding changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant