Throw instead of log error

feature/default_network_editable
Erik Marks 4 years ago
parent a714da8069
commit 876ca136b3
  1. 2
      ui/app/pages/settings/networks-tab/network-form/network-form.component.js

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

Loading…
Cancel
Save