ConsenSysDiligence / ConsenSysDiligence/armlet
Incorrect error when not connected to the internet
- Dominant language
- JavaScript
- Stars
- 17
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
My internet connection dropped, and suddenly my MythX credentials became invalid. I don't think this is an accurate error message.
Raise an accurate error when the computer is not connected to the Internet.
```
━━┫ truffle run verify Vulnerable2 --timeout 1
Vulnerable2 |**************************************| 100% || Elapsed: 20.0s ✗ error
These smart contracts were not found: Vulnerable2
Internal MythX errors encountered:
Invalid MythX credentials for ethereum address 0xf3....FF given.
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the `truffle run verify Vulnerable2 --timeout 1` failure with the computer disconnected, then trace the MythX request and error handling. Done means an offline connection produces an accurate connectivity error instead of reporting invalid MythX credentials.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100