Skip to content

Conversation

@dkj
Copy link
Owner

@dkj dkj commented Feb 1, 2026

for comprehensive error tracking and performance monitoring across client and server, including exception capture, profiling, and error handling.

for comprehensive error tracking and performance monitoring across client and server, including exception capture, profiling, and error handling.
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b6d7779c7e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

server/index.js Outdated
Comment on lines 16 to 19
// Set up Sentry error handler if DSN is provided
if (process.env.SENTRY_DSN) {
Sentry.setupExpressErrorHandler(app);
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Move Sentry error handler after routes

Express only invokes error-handling middleware that appears after the route/middleware that raised the error, so registering Sentry.setupExpressErrorHandler(app) before any routes means exceptions thrown in /api/instance or static handlers will bypass Sentry and go straight to the default handler. This makes the new error tracking ineffective in production whenever SENTRY_DSN is set. Register the Sentry error handler after all route/static middleware are mounted.

Useful? React with 👍 / 👎.

@dkj
Copy link
Owner Author

dkj commented Feb 1, 2026

@codex

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Hooray!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@dkj dkj force-pushed the features/sentry branch from 9ca0ef7 to e81d983 Compare February 1, 2026 20:44
dkj added 2 commits February 1, 2026 20:50
Retrieve Sentry configuration via a dedicated API endpoint instead of server-side HTML injection.
@dkj
Copy link
Owner Author

dkj commented Feb 1, 2026

@codex

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. More of your lovely PRs please.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@dkj dkj merged commit ea1bf5f into main Feb 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants