From: Marnanel Thurman Date: Mon, 20 Dec 2021 00:54:18 +0000 (+0000) Subject: rm test things X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~tthurman/git?a=commitdiff_plain;h=608925c793a65085a65523b257c7b4b8b0b8ea8b;p=dwim.git rm test things --- diff --git a/App.js b/App.js index fa62ecc..3f9fe86 100644 --- a/App.js +++ b/App.js @@ -40,7 +40,6 @@ export default class App extends React.Component { console.log(login1); this.ui_login_show_message("Logging in..."); - return; grok_login2( login1['auth'], @@ -50,12 +49,12 @@ export default class App extends React.Component { ).then(() => { this.ui_login_show_message("Success!"); }).catch((error) => { - this.ui_login_show_message(String(error)); + this.ui_login_show_message(error['message']); }); } ).catch((error) => { console.log("g_l1 failed"); - this.ui_login_show_message(String(error)); + this.ui_login_show_message("error: "+error); }); };