We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c8b67e commit 9a6a31fCopy full SHA for 9a6a31f
src/login/Login.js
@@ -24,7 +24,7 @@ export default class Login extends React.Component {
24
this.errors = json.text
25
otpLength = json.otpLength;
26
} catch (e) {
27
- this.errors = `could not pass error json: ${e}`;
+ this.errors = this.errors ?? `Error: ${JSON.stringify(e)}`;
28
}
29
30
0 commit comments