diff --git a/src/components/structures/login/Login.js b/src/components/structures/login/Login.js index 2ab922c827..6a33e9369b 100644 --- a/src/components/structures/login/Login.js +++ b/src/components/structures/login/Login.js @@ -384,7 +384,7 @@ module.exports = React.createClass({ try { resolve(JSON.parse(body)); - }catch (e) { + } catch (e) { console.error(e); if (e.name === "SyntaxError") { reject({wkAction: "FAIL_PROMPT", wkError: "Invalid JSON"});