parent
4712b27432
commit
14f511bb5a
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ class Worker(object):
|
||||||
self._operations = []
|
self._operations = []
|
||||||
self._stop = Event()
|
self._stop = Event()
|
||||||
self._terminated = Event()
|
self._terminated = Event()
|
||||||
|
self._raven_client = None
|
||||||
|
|
||||||
if app.config.get('EXCEPTION_LOG_TYPE', 'FakeSentry') == 'Sentry':
|
if app.config.get('EXCEPTION_LOG_TYPE', 'FakeSentry') == 'Sentry':
|
||||||
worker_name = '%s:worker-%s' % (socket.gethostname(), self.__class__.__name__)
|
worker_name = '%s:worker-%s' % (socket.gethostname(), self.__class__.__name__)
|
||||||
|
|
Reference in a new issue