UniversityDAO / udao

The official UniversityDAO DApp repository.
GNU Lesser General Public License v2.1
4 stars 4 forks source link

Basic error handling #59

Closed oslfmt closed 2 years ago

oslfmt commented 2 years ago

Added basic error handling to most EthersAPI functions. I didn't add to all since it didn't seem totally necessary. If bugs do come up, we can add them then.

Right now, just logs the error to console and prints an alert() so that the error is more clear from UX perspective.

oslfmt commented 2 years ago

Also this builds on #58, so it contains some duplicate code. I'll merge 58 first.