Skip to content

Commit fb6bb20

Browse files
rate limit error fix
1 parent e84ab5c commit fb6bb20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frontend/src/components/content/HomeInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const HomeInput: React.FC<HomeInputProps> = ({
7575
} catch (error) {
7676
dismissToast(id);
7777
console.log("ERROR:", error);
78-
showToast("Something went wrong", "error");
78+
showToast(error instanceof Error ? error.message : String(error ?? ""), "error");
7979
} finally {
8080
setInput("");
8181
setSubmitting(false);

0 commit comments

Comments
 (0)