restreamer: return the actual response from after_request even if untracked

otherwise any untracked endpoints don't work
pull/26/head
Mike Lang 6 years ago
parent 96e6904c85
commit 30c4bbec1d

@ -62,7 +62,7 @@ def after_request(response):
normalize the handler result into a Response object.
"""
if 'metrics' not in request_store:
return # untracked handler
return response # untracked handler
end_time = monotonic()
metrics = request_store.metrics

Loading…
Cancel
Save