Add: Checkpoint console log

This commit is contained in:
mbaharip
2023-05-28 01:28:26 +07:00
parent db8d632665
commit 97c0448d4f
+1
View File
@@ -24,6 +24,7 @@ export default function Error({
const [path, setPath] = useState<string>("root");
useEffect(() => {
console.log("CHECKPOINT ERROR PAGE", error);
if (error.message.includes("{")) {
console.log("CHECKPOINT ERROR MESSAGE IS JSON");
const errorObj = JSON.parse(