Integrate sentry with the build worker.

This commit is contained in:
Jake Moshenko 2014-05-19 13:50:45 -04:00
parent 569f542c65
commit b8466169ac
2 changed files with 15 additions and 2 deletions

View file

@ -1,7 +1,15 @@
from raven.contrib.flask import Sentry as FlaskSentry
class FakeSentryClient(object):
def captureException(self, *args, **kwargs):
pass
def user_context(self, *args, **kwargs):
pass
class FakeSentry(object):
pass
def __init__(self):
self.client = FakeSentryClient()
class Sentry(object):
def __init__(self, app=None):