question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sentry doesnt report server side errors

See original GitHub issue

Version

@nuxtjs/sentry: ^5.13.6 nuxt: 2.15.7

Sentry configuration

sentry: {
      dsn: process.env.SENTRY_DSN || null,
      debug: devMode,
    },

Reproduction Link

private repo, can’t do

Steps to reproduce

check out of sentry.server.config.js in the .nuxt build folder. DSN is missing:

/* eslint-disable */ export const config = {"environment":"development","release":"d83291467b1702f2e8c933a096d4cd84e49dc965"}

What is Expected?

process.sentry.captureException works

What is actually happening?

doesn’t work

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rchlcommented, Oct 20, 2021

You could check whether on the client side a network request is dispatched to Sentry endpoint on triggering an error.

0reactions
rchlcommented, Feb 20, 2022

Based on the comments I’m assuming it was not a module’s issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

sentry/nextjs doesn't report server-side errors #6485 - GitHub
Steps to Reproduce. We've noticed that at some point Sentry stopped reporting next.js server-side errors on Vercel. I tried example from scratch ...
Read more >
Troubleshooting for Next.js - Sentry Documentation
By default, Sentry does not capture errors when a resource (like an image or a css file) fails to load. If you would...
Read more >
Advanced Features: Error Handling - Next.js
Error Handling. This documentation explains how you can handle development, server-side, and client-side errors. Handling Errors in Development.
Read more >
Error Tracing | Sentry Documentation
With error tracing, you can correlate errors from multiple services and uncover a significant story surrounding a break. Using a unique identifier allows ......
Read more >
Sentry with SSR - javascript - Stack Overflow
Client -side is wrapped in special HOC, called in most cases Error Boundary. React passes up an error to the root component of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found