feat: log errorss to consolve when showing error notification (#489)
This commit is contained in:
@@ -109,6 +109,7 @@ export function PostageStampCreation({ onFinished }: Props): ReactElement {
|
||||
await refresh()
|
||||
onFinished()
|
||||
} catch (e) {
|
||||
console.error(e) // eslint-disable-line
|
||||
enqueueSnackbar(`Error: ${(e as Error).message}`, { variant: 'error' })
|
||||
actions.setSubmitting(false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user