debug logging

This commit is contained in:
2022-07-19 11:53:34 +01:00
parent f8ab5c1528
commit 58415b82c6
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ import {
import { getFormCollectionByID } from "../utils";
import FileUpload from "./fileupload";
import Aboutyou from "./aboutyou";
import { createNewCase } from "../../actions";
import { createNewCase, consoleLogger } from "../../actions";
import { FieldsTranslations } from "../elements";
let CreateCase = (props) => {
@@ -470,8 +470,8 @@ let CreateCase = (props) => {
);
return data;
})
.catch(({ err }) => {
console.log(err);
.catch((err) => {
console.log(consoleLogger(err));
});
// router.replace(
+1 -1
View File
@@ -39,7 +39,7 @@ const TimeOut = (props) => {
};
const handleLogout = () => {
console.log("////////////", "\n", "logout", "\n", "//////////");
console.log("////////////\n" + "logout" + "\n////////////");
destroyCookie({}, "pinsUser"),
window.localStorage.clear(),
signOut({ callbackUrl: "/logout" });