1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00

Throw instead of log error

This commit is contained in:
Erik Marks 2020-11-11 12:39:26 -08:00
parent a714da8069
commit 876ca136b3

View File

@ -182,10 +182,10 @@ export default class NetworkForm extends PureComponent {
onClear()
}
} catch (error) {
log.error('Unexpected error during form submission.', error)
this.setState({
isSubmitting: false,
})
throw error
}
}