Make error reporter not return a promise and add more environment possibilities

This commit is contained in:
fragosti
2018-07-12 15:50:13 -07:00
parent ddb70a89ad
commit ac5588c7c4
14 changed files with 51 additions and 43 deletions

View File

@@ -118,7 +118,7 @@ export class EthWethConversionButton extends React.Component<
? 'Failed to wrap your ETH. Please try again.'
: 'Failed to unwrap your WETH. Please try again.';
this.props.dispatcher.showFlashMessage(errorMsg);
await errorReporter.reportAsync(err);
errorReporter.report(err);
}
}
this.setState({