Skip to content
Snippets Groups Projects
Unverified Commit 33043203 authored by Michael Telatynski's avatar Michael Telatynski
Browse files

redact_uri in two missed log paths

parent e6cbf477
No related branches found
Tags v0.12.0-rc3
No related merge requests found
......@@ -106,14 +106,14 @@ class SimpleHttpClient(object):
incoming_responses_counter.labels(method, response.code).inc()
logger.info(
"Received response to %s %s: %s",
method, uri, response.code
method, redact_uri(uri), response.code
)
defer.returnValue(response)
except Exception as e:
incoming_responses_counter.labels(method, "ERR").inc()
logger.info(
"Error sending request to %s %s: %s %s",
method, uri, type(e).__name__, e.message
method, redact_uri(uri), type(e).__name__, e.message
)
raise e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment