Questions tagged [sentry]

Sentry is a full-stack application monitoring solution. It provides features such as error monitoring, crash reporting, performance monitoring, and distributed tracing.

Sentry is a full-stack application monitoring solution. It provides features such as error monitoring, crash reporting, performance monitoring, and distributed tracing.

Installation & clients

Sentry provides a hosted service, as well as an self-hosted option. Most of Sentry, including the back-end and SDKs are open source.

Sentry works with most languages, frameworks, and libraries with its official and community-provided clients, including Ruby, Python, Java, PHP, Javascript, Cocoa, .NET, Unity Go, Dart/Flutter, C/C++, Rust, and many others - or you can also write your own client.

Useful links

1435 questions
0
votes
1 answer

Making Sentry report 5XX errors in multi-thread environment

I am using Sentry to power up exception handling logging in my app. The issue arises in the following code snippet: @api_view(['POST']) def testView(request): a = 1/0 # This error is reported to Sentry TestThread().start() return…
Edgar Navasardyan
  • 4,261
  • 8
  • 58
  • 121
0
votes
1 answer

EXC_BREAKPOINT how to debug?

We've recently released our app to our userbase and we are seeing a bunch of redacted exceptions in Sentry that we can't debug in any logical way. The only thing these exceptions seem to have in common is that they never happen when the application…
andromedainiative
  • 4,414
  • 6
  • 22
  • 34
0
votes
0 answers

Cannot catch errors in dependent libraries

I am building a React Native Application, and am attempting to build a completely native error handler as a final fallback in case of crashes at the native level, which bypass javascript entirely. I have created a global error logger by adapting…
Abraham P
  • 15,029
  • 13
  • 58
  • 126
0
votes
1 answer

Crash analytic surge up when runner running testcases

Background: I am using Django2 and Sentry for detecting my crash. In my gitlab pipe line. I used to has test job as a major concern to not break any features when deploy new feature. Many of my testcases contains Exception and Sentry does surge…
joe
  • 8,383
  • 13
  • 61
  • 109
0
votes
1 answer

Circle ci 2. sentry-cli can't find find dist folder to upload source maps

I have a Reactjs web project where I use web pack. When I do a prod build a dist folder is created with source map in it. Then every time I create a new tag I create a new release in Sentry. But circle can't find the dist folder inside the docker…
user3476614
  • 537
  • 2
  • 8
  • 26
0
votes
1 answer

Passing User Information To Sentry through Raven

I have Sentry error tracking set up on a react-application. I use react router 4 and I configure Raven at that level, this catches all exceptions that are thrown and repots them to Sentry which is what I want. That code blocks looks like…
Sad Bones Malone
  • 379
  • 1
  • 5
  • 15
0
votes
0 answers

Source code was not found for file:///android_asset/... when encountering cordova errors

I am tracking client side errors using sentry for my cordova app. The error reporting is not perfect (different errors get mapped together), but I at least get some sort of stack trace for all kinds of devices. I noticed, that some errors come…
David Schumann
  • 13,380
  • 9
  • 75
  • 96
0
votes
1 answer

Sentry isn't working for me on Angular

I installed Sentry on my Angular application by following their tutorial, given that parts of it are outdated so I kept fixing them up in my code and ended up with this: // My module.ts // modules import { NgModule,…
Naguib Ihab
  • 4,259
  • 7
  • 44
  • 80
0
votes
2 answers

Logging to multiple Sentry projects from a single iOS application

What we do: We are building an app used to communicate with an external hardware device. The application can receive log messages from the external device. The application already logs application events to a Sentry project. What we want to do: We…
Oyvindkg
  • 111
  • 10
0
votes
1 answer

"null is not an object" in n.parentNode.removeChild expression

Problem: I'm getting following error reports from the webpage on production: TypeErrores6-shim/es6-shim in process null is not an object (evaluating 'n.parentNode.removeChild') Question On the low level, what is the most likely scenario? n is…
Piotr Sobczyk
  • 6,443
  • 7
  • 47
  • 70
0
votes
1 answer

Is it safe to run `sentry upgrade –noinput` every time Sentry is restarted?

In the context of running Sentry in OpenShift/Kubernetes and automating the upgrade process I'm considering running sentry upgrade --noinput every time the pod is recreated (before running sentry run web). Is this safe? In other words, are repeated…
kasioumis
  • 61
  • 1
  • 4
0
votes
1 answer

Laravel logging to Sentry does not filter after moving code to new ServiceProvider

I had the code to add a RavenHandler in AppServiceProvider and it was working fine, only logging Logger::ERROR and above as intended. I've merely moved it to a separate ExternalLogServiceProvider for reuse in other projects, and now it's sending…
markdwhite
  • 2,360
  • 19
  • 24
0
votes
3 answers

How to have my own error handlers before Sentry in a Spring application?

I have a Spring Boot application and I just added Sentry to report and track errors. The problem I'm having is that there are certain exceptions that I handle in my application that are not erroneous conditions. For example, I an action with a…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
0
votes
2 answers

Capturing Apscedular job exceptions to Sentry

I'm using apscheduler to process few things in background. I'd like to capture and report possible exceptions to Sentry. My code looks like this: sentry = Client(dsn=SENTRY_DSN) def sample_method(): # some processing.. raise…
EastSw
  • 927
  • 1
  • 9
  • 28
0
votes
1 answer

Sentry: do I need to use Sentry.capture()?

I am trying to make Sentry work with a maven/Java project. It seems that I can initialize a connection to the Sentry server, however only errors that I specifically catch with Sentry.capture(e) gets loaded to the server. How can I make it so that…
Ava
  • 502
  • 1
  • 6
  • 21