chiark
/
gitweb
/
~tthurman
/
dwim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d881c32
)
stringify error objects passed to ui_login_show_message()
author
Marnanel Thurman
<marnanel@thurman.org.uk>
Sun, 12 Dec 2021 06:22:31 +0000
(06:22 +0000)
committer
Marnanel Thurman
<marnanel@thurman.org.uk>
Sun, 12 Dec 2021 06:22:31 +0000
(06:22 +0000)
App.js
patch
|
blob
|
history
diff --git
a/App.js
b/App.js
index 221590c6475eb07d4ed5e3e9bfe1f593d9d8457d..299def3915d8c2b6489a2afc116dc4cd08a5166c 100644
(file)
--- a/
App.js
+++ b/
App.js
@@
-48,11
+48,11
@@
export default class App extends React.Component {
).then(() => {
this.ui_login_show_message("Success!");
}).catch((error) => {
- this.ui_login_show_message(
error
);
+ this.ui_login_show_message(
String(error)
);
});
}
).catch((error) => {
- this.ui_login_show_message(
error
);
+ this.ui_login_show_message(
String(error)
);
});
};