diff --git a/.env.development b/.env.development index 19178088..346cce5d 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,10 @@ AUTH0_CLIENT_ID = "9UwzFayrqvJerFA3BQQKYluCRJ5ani0g" # Sorry! To use auth in dev, you'll need to be on QURI team; otherwise, you can register your own Auth0 tenant and use those credentials. AUTH0_CLIENT_SECRET="" -# If these three are set correctly then Sentry will be enabled. +# If this is set correctly then Sentry will be enabled. NEXT_PUBLIC_SENTRY_DSN="" + +# These are required for Sentry sourcemaps to work, but not strictly nesecceary. SENTRY_ORG="" SENTRY_PROJECT="" +SENTRY_AUTH_TOKEN="" diff --git a/.gitignore b/.gitignore index ec12831b..261465e8 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,4 @@ tags /.vscode /yarn-error.log -# Sentry Config File -.sentryclirc - /.env.local diff --git a/src/modules/search_spaces/actions.ts b/src/modules/search_spaces/actions.ts index 1ffea788..f16698c3 100644 --- a/src/modules/search_spaces/actions.ts +++ b/src/modules/search_spaces/actions.ts @@ -29,7 +29,6 @@ export function fetch(query = "", options: any = {}): AppThunk { return (dispatch) => { searchSpaceIndex(spaceIndex).search(query, filters, (error, results) => { - searchError("TestError", error); if (error) { searchError("AlgoliaFetch", error); } else { diff --git a/src/routes/app.ts b/src/routes/app.ts index 69ad24ba..11572892 100644 --- a/src/routes/app.ts +++ b/src/routes/app.ts @@ -94,7 +94,6 @@ const init = () => { } })(); elev.hide(); - // sentry.initialize(); }; init(); diff --git a/src/server/sentry/index.ts b/src/server/sentry/index.ts index 9740f1c2..693f0624 100644 --- a/src/server/sentry/index.ts +++ b/src/server/sentry/index.ts @@ -1,5 +1,3 @@ -import { __API_ENV__ } from "~/lib/constants"; - import * as Sentry from "@sentry/nextjs"; export function captureException(