mirror of
https://github.com/Nezumi-2711/next-gdrive-index.git
synced 2026-09-22 20:01:36 +00:00
Add: Checkpoint console log
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user