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

Handle assertions errors in JS with better error message #743

Closed
shimkiv opened this issue Feb 22, 2023 · 1 comment · Fixed by #902
Closed

Handle assertions errors in JS with better error message #743

shimkiv opened this issue Feb 22, 2023 · 1 comment · Fixed by #902
Labels
error-messages Issues about making error messages better feature-request Issues that specify work that is requested by others move-to-js Refactor parts of the OCaml portion to JS product-eng For tracking our team's issues

Comments

@shimkiv
Copy link
Member

shimkiv commented Feb 22, 2023

Expected pattern: /^(.*)zkApp State update failed(.*)Error: assert_equal: 14161 != 119(.*)$/i
Received string:  "2/21/2023, 7:52:43 PM - zkApp State update failed. Reason: (\"Error: assert_equal: 0x0000000000000000000000000000000000000000000000000000000000003751 != 0x0000000000000000000000000000000000000000000000000000000000000077\")"
@shimkiv shimkiv added the feature-request Issues that specify work that is requested by others label Feb 22, 2023
@mitschabaude mitschabaude removed their assignment Feb 22, 2023
@mitschabaude mitschabaude added error-messages Issues about making error messages better move-to-js Refactor parts of the OCaml portion to JS labels Feb 22, 2023
@mitschabaude mitschabaude changed the title Better dependent components errors handling Handle assertions errors in JS with better error message Feb 22, 2023
@mitschabaude
Copy link
Member

mitschabaude commented Feb 22, 2023

blocked on #744 (since it would be inefficient to invest in polishing the existing OCaml classes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error-messages Issues about making error messages better feature-request Issues that specify work that is requested by others move-to-js Refactor parts of the OCaml portion to JS product-eng For tracking our team's issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants