Integrate sentry with the build worker.
This commit is contained in:
parent
569f542c65
commit
b8466169ac
2 changed files with 15 additions and 2 deletions
|
@ -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):
|
||||
|
|
Reference in a new issue