mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-03 14:46:37 -04:00
more error handling
This commit is contained in:
@ -23,6 +23,8 @@ const HitCounter = async ({ slug }: { slug: string }) => {
|
||||
);
|
||||
} catch (error) {
|
||||
Sentry.captureException(error);
|
||||
|
||||
return <span title="Error getting views! :(">?</span>;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user