getsentry / raven-python

Raven is the legacy Python client for Sentry (getsentry.com) — replaced by sentry-python
https://sentry.io
BSD 3-Clause "New" or "Revised" License
1.68k stars 657 forks source link

Sentry not send errors when add tags or envs #1291

Open nicobytes opened 6 years ago

nicobytes commented 6 years ago

Hello!

I use python/raven 6.9.0 but recently the errors not are send in sentry.

Like this work:

sentry = Sentry(
    app,
    dsn=config.SENTRY_DSN,
)
sentry.captureMessage('hello, world! 2')

screen shot 2018-08-27 at 6 39 41 pm

But when add tags or envs not work

sentry = Sentry(
    app,
    dsn=config.SENTRY_DSN,
    environment=config.ENV,
    tags={'project': 'backend'}
)
sentry.captureMessage('hello, world! 3')