1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-16 19:15:34 -04:00

remove sentry (might revisit later, idk yet)

This commit is contained in:
2025-04-02 14:02:42 -04:00
parent 2b7f3c66a9
commit 774c3a5d96
10 changed files with 98 additions and 2083 deletions

View File

@@ -1,5 +1,4 @@
import { connection } from "next/server";
import * as Sentry from "@sentry/nextjs";
import commaNumber from "comma-number";
import CountUp from "../../../components/CountUp";
import redis from "../../../lib/helpers/redis";
@@ -22,7 +21,7 @@ const HitCounter = async ({ slug }: { slug: string }) => {
</span>
);
} catch (error) {
Sentry.captureException(error);
console.error("[hit counter] fatal error:", error);
return <span title="Error getting views! :(">?</span>;
}