From d7c0b7da906a79166b1990f30f8efe4f3054d552 Mon Sep 17 00:00:00 2001 From: Ace Pace Date: Fri, 1 May 2020 15:05:17 +0300 Subject: [PATCH] Revert hiding error and just display it instead --- .../monkey_island/cc/ui/src/components/pages/ConfigurePage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js index 7c2020848..172751a01 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js @@ -346,8 +346,8 @@ class ConfigurePageComponent extends AuthComponent { throw Error() } return res; - }).catch(() => { - console.log('bad configuration'); + }).catch((error) => { + console.log(`bad configuration ${error}`); this.setState({lastAction: 'invalid_configuration'}); })); }