Skip to content

Commit

Permalink
chore: added console error
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdly committed Jul 26, 2024
1 parent e23c2c0 commit 05f28b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ function handleMessageError(error: unknown) {
const isError = error instanceof Error;
if (!isError) throw error;

console.error(error.message);

let message: string;
let description: string;

Expand Down

0 comments on commit 05f28b2

Please sign in to comment.