Skip to content

Commit

Permalink
Removing raven, fixes #298
Browse files Browse the repository at this point in the history
  • Loading branch information
jaedb committed Jun 16, 2018
1 parent 8fc9b6a commit 4d64980
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions mopidy_iris/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from frontend import IrisFrontend
from handlers import WebsocketHandler, HttpHandler
from core import IrisCore
from raven import Client

logger = logging.getLogger(__name__)
__version__ = '3.21.2'
Expand Down Expand Up @@ -54,12 +53,6 @@ def setup(self, registry):
mem.iris = IrisCore()
mem.iris.version = self.version

# Connect to our Ravent Sentry error tracker
mem.iris.raven_client = Client(
dsn='https://023e3bf7721b48f29948545fc36a4621:ba30d29174ef4778ac4e141d445607a2@sentry.io/219026',
release=self.version
)

# Add our frontend
registry.add('frontend', IrisFrontend)

Expand Down
6 changes: 0 additions & 6 deletions mopidy_iris/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ def handle_result(self, *args, **kwargs):
error['id'] = id
request_response['error'] = error

# Log error with Sentry
#mem.iris.raven_client.captureMessage(data.message)

# We've been handed an AsyncHTTPClient callback. This is the case
# when our request calls subsequent external requests (eg Spotify, Genius)
elif isinstance(response, tornado.httpclient.HTTPResponse):
Expand Down Expand Up @@ -216,9 +213,6 @@ def handle_result(self, *args, **kwargs):
request_response['error'] = error
self.set_status(400)

# Log error with Sentry
#mem.iris.raven_client.captureMessage(data.message)


# We've been handed an AsyncHTTPClient callback. This is the case
# when our request calls subsequent external requests (eg Spotify, Genius).
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def get_version(filename):
'Mopidy >= 2.0',
'Mopidy-Local-Images >= 1.0',
'ConfigObj >= 5.0.6',
'raven >= 6.1.0',
'requests >= 2.0.0',
'tornado >= 3.2, < 5.0'
],
Expand Down

0 comments on commit 4d64980

Please sign in to comment.