I have a Flask server that is registered to sentry using raven.contrib.flask
's Sentry(app, dns=...)
object. I also have some python-rq workers for working on async background processes. I found this documentation that seems to state that I can just register sentry in my start_worker script like so:
with Connection(redis_client):
worker = Worker(map(Queue, ['default']))
client = Client('<MY_SENTRY_DSN>', transport=HTTPTransport)
register_sentry(client, worker)
worker.work()
Where redis_client is my connection to redis using StrictRedis(host=...)
. These workers work fine, but when I force the job they're working on to raise an Exception, I'm not seeing any errors on Sentry, but I am seeing the raised Exception in the worker's error logs.
My Sentry project is setup to allow all domains currently. Is there anything special I have to do to get these errors to show up correctly in Sentry?