diff --git a/packages/ketcher-react/src/script/ui/dialog/mainmenu/analyse.jsx b/packages/ketcher-react/src/script/ui/dialog/mainmenu/analyse.jsx index 97fe04b6d9..e55c30b8d9 100644 --- a/packages/ketcher-react/src/script/ui/dialog/mainmenu/analyse.jsx +++ b/packages/ketcher-react/src/script/ui/dialog/mainmenu/analyse.jsx @@ -73,7 +73,11 @@ function FormulaInput({ value }) { class Analyse extends Component { constructor(props) { super(props) - props.onAnalyse().catch(props.onCancel) + props.onAnalyse().catch(e => { + //error could possibly be an invalid state of molecule.TODO handling such cases described in #251 + alert(e) + props.onCancel() + }) } render() {