Skip to content

Commit

Permalink
feat: log error
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmtslmngcl committed Dec 14, 2024
1 parent 653fc44 commit ef63166
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default function Error({ error, reset }: { error: Error & { digest?: stri
useEffect(() => {
// Log the error to an error reporting service
/* eslint-disable no-console */
console.error(error);
}, [error]);

return (
Expand Down

0 comments on commit ef63166

Please sign in to comment.