Code review
This commit is contained in:
parent
f043bc1379
commit
7c3b555ee9
3 changed files with 14 additions and 14 deletions
6
app.py
6
app.py
|
@ -125,11 +125,7 @@ userevents = UserEventsBuilderModule(app)
|
|||
superusers = SuperUserManager(app)
|
||||
signer = Signer(app, OVERRIDE_CONFIG_DIRECTORY)
|
||||
metric_queue = MetricQueue()
|
||||
|
||||
try:
|
||||
start_cloudwatch_sender(metric_queue, app)
|
||||
except KeyError:
|
||||
logger.debug('Cloudwatch not configured')
|
||||
start_cloudwatch_sender(metric_queue, app)
|
||||
|
||||
tf = app.config['DB_TRANSACTION_FACTORY']
|
||||
|
||||
|
|
Reference in a new issue