Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilo59 committed May 3, 2020
1 parent db491f0 commit 0220060
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@
#######################

# Scout APM
if SETTINGS.scout_name:
if SETTINGS.scout_name: # pragma: no cover
LOGGER.info(f"Adding Scout APM middleware for `{SETTINGS.scout_name}`")
APP.add_middleware(ScoutMiddleware)
else:
LOGGER.debug("No SCOUT_NAME config")

# Enable CORS.
APP.add_middleware(
Expand Down

0 comments on commit 0220060

Please sign in to comment.