feat: log errorss to consolve when showing error notification (#489)

This commit is contained in:
Vojtech Simetka
2022-07-25 07:26:01 +02:00
committed by GitHub
parent feeca008ac
commit 6bfe97be5d
10 changed files with 12 additions and 0 deletions
+1
View File
@@ -48,6 +48,7 @@ export default function CheckoutModal({ peerId, uncashedAmount }: Props): ReactE
)
})
.catch((e: Error) => {
console.error(e) // eslint-disable-line
enqueueSnackbar(<span>Error: {e.message}</span>, { variant: 'error' })
})
.finally(() => {