Error message included on error popup when sending chat
This commit is contained in:
parent
f8a48dd90e
commit
fc8dc87022
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ export default function Chat({ flow, reactFlowInstance }: ChatType) {
|
|||
setLockChat(false);
|
||||
})
|
||||
.catch((error) => {
|
||||
setErrorData({ title: error.message ?? "unknow error" });
|
||||
setErrorData({ title: error.message ?? "Unknown Error", list: [error.response.data.detail]});
|
||||
setLockChat(false);
|
||||
});
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue