Consensys / armlet

a MythX API client wrapper
MIT License
16 stars 7 forks source link

Incorrect error when not connected to the internet #78

Open nbanmp opened 5 years ago

nbanmp commented 5 years ago

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.