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

Unhelpful error message #102

Open
deuszx opened this issue Jun 20, 2023 · 1 comment
Open

Unhelpful error message #102

deuszx opened this issue Jun 20, 2023 · 1 comment
Assignees

Comments

@deuszx
Copy link

deuszx commented Jun 20, 2023

I have a deployment script and one of the steps fails with

{
  from: '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY',
  txHash: '0xed5359c55e50b20852bbd51f016a31d2df5727fb4230364b0bf0dc74540b29e8',
  blockHash: '0x883f5160c1a31df1c94d24deb3745c10aca4678fe7b2d761c02ed43c5d3fb48d',
  events: [],
  error: { message: 'Module' }
}

As you can see, the error.message contains just Module. This isn't really helpful to me, I can't act on it.

From my past work I know the error comprises of two elements: module index and error index - with these two information I can reverse-engineer what went wrong.

Can we update the code to return the rest of the error?

@varex83
Copy link

varex83 commented Jun 22, 2023

Yes, we will be working on that as part of the refactoring!

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