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
78
votes
2 answers

Source maps files in production - Is it safe?

I'm using UglifyJS to minify and uglify my sources, and Sentry to report errors from my production environment. In order to get errors from Sentry, in a readable manner, I need to add source-map Is it safe to do it in production servers, or the…
Ofer Velich
  • 1,959
  • 4
  • 19
  • 24
60
votes
5 answers

Javascript "TypeError: cancelled" error when calling "fetch" on iOS

I'm logging JS client errors using Sentry and there's a lot of TypeError: cancelled errors. It's only occurring on iOS. I can't find anything on Google. Is this a native Javascript error or something else? What does it mean? I also get similar…
Leo Jiang
  • 24,497
  • 49
  • 154
  • 284
56
votes
6 answers

How to report console.error with Sentry?

I have application where some critical issues are reported with console.error but are not thrown so application might continue to run - possibly in crippled state. It's necessary to report also console.error issues, but Sentry (Raven) library send…
Jurosh
  • 6,984
  • 7
  • 40
  • 51
38
votes
5 answers

How do I test that Sentry is reporting errors?

I just installed Sentry for a client-side JavaScript app using the standard code snippet they provided. How do I test that it's working properly? I've tried manually throwing an error from my browser console and it didn't appear in Sentry. Is there…
serverpunk
  • 10,665
  • 15
  • 61
  • 95
34
votes
3 answers

Javascript "TypeError: Load Failed" error when calling "fetch" on iOS

I'm logging JS client errors using Sentry and there's a lot of "TypeError: Load failed" errors. It's only occurring on iOS. I can't find anything on Google. Is this a native Javascript error or something else? What does it mean? This is separate…
Thomas Stewart
  • 441
  • 1
  • 3
  • 3
31
votes
4 answers

How to clear / maintain a django-sentry database?

I am using django-sentry to track errors in a website. My problem is that the database has grown too big. The 'message' table and the 'groupedmessage' are related Is there any way to clear older entries and specific messages or to add the sentry…
equalium
  • 1,241
  • 2
  • 12
  • 18
30
votes
1 answer

What is instantSearchSDKJSBridgeClearHighlight?

Sometimes I get ReferenceError in my sentry with this instantSearchSDKJSBridgeClearHighlight. Google says nothing. All I found is https://github.com/algolia/instantsearch-android and https://github.com/algolia/instantsearch-ios that may be related…
zerdox
  • 830
  • 8
  • 22
29
votes
4 answers

How to configure and use Serilog in ASP.NET Core 6?

Since the recently introduced new structure of the Program.cs startup code, the documentation confuses me a bit. In the officially provided Serilog.AspNetCore example and in the Serilog.Sentry example, they use .UseSerilog() on the WebHostBuilder. I…
ˈvɔlə
  • 9,204
  • 10
  • 63
  • 89
26
votes
2 answers

How do you configure a Sentry raven client in a development environment to not send exceptions and still work?

We are running a Django server and using Sentry to capture exceptions. When we configure Sentry we add RAVEN_CONFIG our different settings.py files: INSTALLED_APPS = ( 'raven.contrib.django.raven_compat' ) RAVEN_CONFIG = { 'dsn':…
Agam Rafaeli-Farhadian
  • 5,827
  • 3
  • 18
  • 23
26
votes
2 answers

How does Sentry aggregate errors?

I am using Sentry (in a django project), and I'd like to know how I can get the errors to aggregate properly. I am logging certain user actions as errors, so there is no underlying system exception, and am using the culprit attribute to set a…
Hugo Rodger-Brown
  • 11,054
  • 11
  • 52
  • 78
25
votes
2 answers

Added Sentry debugging, getting long string as undefined

We're building a Angular 1.x app with Bootstrap components. We recently added Sentry debugging to site and just got this error: 'PAPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGX' is undefined browser = IE…
24
votes
4 answers

How to generate sourcemaps using Angular CLI and upload them to Sentry?

There are two ways to set up sourcemaps: having them hosted on the site and referenced in the bundled files or uploading them directly to a service like sentry. I'm trying to accomplish the latter. The problem is that there seems to be no way to…
Nikola Jankovic
  • 947
  • 1
  • 13
  • 23
23
votes
2 answers

How to ignore a logger in the Sentry Python SDK

I'm using sentry-python SDK for capture exceptions from my django server. I don't want to capture django.security.DisallowedHost like above. How to remove sentry handling for that logger? I attached my server configuration…
Dongeon Kim
  • 443
  • 4
  • 12
23
votes
4 answers

OperationalError: cursor "_django_curs_" does not exist

We have an online store web-app which is powered by django, postgresql and heroku. For a specific campaign (you can think a campaign like a product to purchase), we have sold 10k+ copies successfully. Yet some of our users are encountered this…
dhargan
  • 408
  • 1
  • 3
  • 16
21
votes
6 answers

React / Sentry for Error Reporting - How to not send errors from dev / localhost

We're using Sentry in our React project by adding the following to our main index.js and App.js files: index.js // Import Stuff import * as Sentry from '@sentry/react'; import { Integrations } from '@sentry/tracing'; ... import other important react…
Canovice
  • 9,012
  • 22
  • 93
  • 211
1
2 3
95 96