added console.log for erro debug
This commit is contained in:
parent
1269f2c371
commit
7471fe763c
1 changed files with 5 additions and 4 deletions
|
|
@ -131,12 +131,13 @@ export default function PromptAreaModal({
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((_) =>
|
.catch((error) => {
|
||||||
setErrorData({
|
console.log(error)
|
||||||
|
return setErrorData({
|
||||||
title:
|
title:
|
||||||
"There is something wrong with this prompt, please review it",
|
"There is something wrong with this prompt, please review it",
|
||||||
})
|
});
|
||||||
);
|
});
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Check & Save
|
Check & Save
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue