We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e84ab5c commit fb6bb20Copy full SHA for fb6bb20
src/frontend/src/components/content/HomeInput.tsx
@@ -75,7 +75,7 @@ const HomeInput: React.FC<HomeInputProps> = ({
75
} catch (error) {
76
dismissToast(id);
77
console.log("ERROR:", error);
78
- showToast("Something went wrong", "error");
+ showToast(error instanceof Error ? error.message : String(error ?? ""), "error");
79
} finally {
80
setInput("");
81
setSubmitting(false);
0 commit comments