Log unknown errors to console
authorAdam Dullage <redacted>
Mon, 13 May 2024 20:46:26 +0000 (21:46 +0100)
committerAdam Dullage <redacted>
Mon, 13 May 2024 20:46:26 +0000 (21:46 +0100)
client/api.js

index df2a624fe987c606e64300e3a78245db54a1213a..2a0ce055dde3cfe60cc8a99151275984f264c2f3 100644 (file)
@@ -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