Open sentry-io[bot] opened 2 years ago
This issue is also being tracked on Linear.
We use Linear to manage our development process, but we keep the conversations on Github.
LINEAR-ID: 6ff8371d-d1a0-4b34-82bf-bde8708d28be
We are still seeing this in the sentry logs.
@OmarTawfik raised the point this may be related to some errors returned from solc not having source locations (i.e. error.sourceLocation
). If that is the case we should deal errors of this sort as their own case, and eliminate the source of the bad inputs.
I have a suspicion it is related to checks like these:
I wonder if we should treat such locations as [0,0]
instead of throwing/failing? Looks to me like it will still be an improvement to the end-user experience.
@kanej This error is from 0.5.4 and earlier. Since then I've changed the import path completions logic and we don't have occurrences of this error on newer versions. Should I close the issue ?
@kanej This error is from 0.5.4 and earlier. Since then I've changed the import path completions logic and we don't have occurrences of this error on newer versions. Should I close the issue ?
Sentry is confusing on these sorts of thing. It doesn't necessarily merge new instances with the old version.
The Range#create
exception is still happening: https://nomic-labs.sentry.io/issues/3758407495/?project=5469451&query=is%3Aunresolved+create&referrer=issue-stream&statsPeriod=14d&stream_index=0
Sentry Issue: VSCODE-EXTENSION-1QN
We are doing a range conversion that is throwing on bad inputs.