mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Throw instead of log error
This commit is contained in:
parent
a714da8069
commit
876ca136b3
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user