qol: PR feedback
More helpful error logging
Co-authored-by: fang <github@fang.io>
commitb48b13eaef5e7cee46ce4ca046e4c167f98cf025
authortomholford <16504501+tomholford@users.noreply.github.com>
dateFri 13 Aug 2021, 18:17 (5 years ago)
parent74d868e
src/lib/useEthereumTransaction.js+1−1
@@ -136,7 +136,7 @@ export default function useEthereumTransaction(
136136 setSignedTransactions(txns);
137137 setState(STATE.SIGNED);
138138 } catch (error) {
139− console.error(error);
139+ console.error('error signing txs', error);
140140 setError(error);
141141 }
142142 }, [