We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59b5815 commit a32bb7aCopy full SHA for a32bb7a
frontend/src/components/ChatDraftDrawer.tsx
@@ -90,7 +90,7 @@ const ChatDraftDrawer = ({
90
setLoadingAIDraft(false);
91
} catch (error) {
92
console.error(error);
93
- toast.error("Failed to draft with AI. Try again!");
+ toast.error(error instanceof Error ? error.message : String(error));
94
95
}
96
0 commit comments