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

Clean up error messages on contract execution #260

Open
Endogen opened this issue Sep 14, 2022 · 1 comment
Open

Clean up error messages on contract execution #260

Endogen opened this issue Sep 14, 2022 · 1 comment

Comments

@Endogen
Copy link

Endogen commented Sep 14, 2022

This is how a normal error message looks like if some assert is triggered in a contract
image

Since it's always an Assert, the structure of the error message is always the same. To make it not so techy looking, i propose to extract the error message itself and only show that. In the provided example it would then only show "Not optics to claim" (which is a pretty funny error message actually lol).

@JeffWScott
Copy link
Contributor

assigned to @Dapiguabc

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