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_sdk crash on exc_info

See original GitHub issue

Hi,

Getting this error:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/sentry_sdk/integrations/logging.py", line 164, in emit
    return self._emit(record)
  File "/usr/local/lib/python3.7/site-packages/sentry_sdk/integrations/logging.py", line 178, in _emit
    if record.exc_info is not None and record.exc_info[0] is not None:
TypeError: 'int' object is not subscriptable

ver: sentry-sdk[flask,sqlalchemy]==0.14.2

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
untitakercommented, Nov 2, 2020

Nevermind I found the bug!

0reactions
dpgasparcommented, Nov 2, 2020

Checked on my side, actually found that I’m assuming that exec_info always is a tuple with (class type, Exception, traceback). But non related with this

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS | Sentry Documentation
Sentry's SDKs report an error automatically whenever a thrown error or exception goes uncaught in your application, causing the application to crash.
Read more >
Filtering and Sampling Events for Python
Learn more about how to configure your SDK to filter and sample events reported to Sentry.
Read more >
sentry_sdk.client — sentry-python 1.12.0 documentation
s" % (exc_info[0].__module__, error_type_name) for ignored_error in self.options["ignore_errors"]: # String types are matched against the type name in the ...
Read more >
Filtering events - Docs - Sentry Documentation
using Sentry; SentrySdk.Init(o => { o.BeforeSend = sentryEvent => { // Modify the event here: sentryEvent.ServerName = null; // Don't send server names....
Read more >
commit python-sentry-sdk for openSUSE:Factory
Package is "python-sentry-sdk" Sun Oct 27 13:40:40 2019 rev:8 ... + - Fix a bug that would make Django 1.11+ apps crash when...
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