diff --git a/rq/cli/cli.py b/rq/cli/cli.py index fb0dc8e..27dd78c 100755 --- a/rq/cli/cli.py +++ b/rq/cli/cli.py @@ -199,8 +199,9 @@ def worker(url, config, burst, name, worker_class, job_class, queue_class, conne # Should we configure Sentry? if sentry_dsn: from raven import Client + from raven.transport.http import HTTPTransport from rq.contrib.sentry import register_sentry - client = Client(sentry_dsn) + client = Client(sentry_dsn, transport=HTTPTransport) register_sentry(client, w) w.work(burst=burst)