Skip to content

Commit

Permalink
final sentry tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
berekuk committed Mar 4, 2024
1 parent b3cdec9 commit fc3f219
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
5 changes: 4 additions & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@ tags
/.vscode
/yarn-error.log

# Sentry Config File
.sentryclirc

/.env.local
1 change: 0 additions & 1 deletion src/modules/search_spaces/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion src/routes/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ const init = () => {
}
})();
elev.hide();
// sentry.initialize();
};

init();
2 changes: 0 additions & 2 deletions src/server/sentry/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { __API_ENV__ } from "~/lib/constants";

import * as Sentry from "@sentry/nextjs";

export function captureException(
Expand Down

0 comments on commit fc3f219

Please sign in to comment.