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

tlsn-wasm: the prover and verifier class should throw error in typescript #578

Open
0xtsukino opened this issue Sep 1, 2024 · 1 comment

Comments

@0xtsukino
Copy link
Collaborator

This was caught during the p2p flow but i think it applies to the notary flow as well. When the Prover and Verifier class encounters an error, it only logs it but doesn't throw an error in JS. On the JS side, I will like to be able to catch those error so i can gracefully clean up any opened process, socket connection, and/or pending event listener.

@sinui0
Copy link
Member

sinui0 commented Sep 3, 2024

Which method(s) are you referring to? wasm-bindgen should be doing this already

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

No branches or pull requests

2 participants