Uniswap / web3-react

A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps
https://web3-react-mu.vercel.app/
GNU General Public License v3.0
5.52k stars 1.52k forks source link

Production may return error name in error information if current network error #824

Open HuberTRoy opened 1 year ago

HuberTRoy commented 1 year ago

Web3 Version is 6.1.9

Background:

When user in an unsupported network, I will give an error to user to switch.

All will work good in development but in production I cannot get the error name.

Now:

Use core.cjs.production.min.js:

微信截图_20230606132458

Use core.cjs.development.js or core.esm.js:

微信截图_20230606132706
ashutosh887 commented 1 year ago

I would like to work on this @HuberTRoy