added console.log for erro debug

This commit is contained in:
anovazzi1 2023-04-05 22:34:28 -03:00
commit 7471fe763c

View file

@ -131,12 +131,13 @@ export default function PromptAreaModal({
});
}
})
.catch((_) =>
setErrorData({
.catch((error) => {
console.log(error)
return setErrorData({
title:
"There is something wrong with this prompt, please review it",
})
);
});
});
}}
>
Check & Save