git.99rst.org
/
flatnotes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
a93865d
)
Log unknown errors to console
author
Adam Dullage
<redacted>
Mon, 13 May 2024 20:46:26 +0000
(21:46 +0100)
committer
Adam Dullage
<redacted>
Mon, 13 May 2024 20:46:26 +0000
(21:46 +0100)
client/api.js
patch
|
blob
|
history
diff --git
a/client/api.js
b/client/api.js
index df2a624fe987c606e64300e3a78245db54a1213a..2a0ce055dde3cfe60cc8a99151275984f264c2f3 100644
(file)
--- a/
client/api.js
+++ b/
client/api.js
@@
-31,6
+31,7
@@
export function apiErrorHandler(error, toast) {
query: { [constants.params.redirect]: redirectPath },
});
} else {
+ console.error(error);
toast.add(
getToastOptions(
"Unknown Error",
git clone https://git.99rst.org/PROJECT