forked from p15670423/monkey
Island: Fix string formatting in _send_analytics()
This commit is contained in:
parent
6dc29e36e2
commit
617d101af2
|
@ -192,10 +192,10 @@ def _send_analytics(di_container):
|
||||||
try:
|
try:
|
||||||
response = requests.get(url).json()
|
response = requests.get(url).json()
|
||||||
logger.info(
|
logger.info(
|
||||||
f"Version number and deployment type was sent to analytics server."
|
f"Version number and deployment type was sent to analytics server. "
|
||||||
f" The response is: {response}"
|
f"The response is: {response}"
|
||||||
)
|
)
|
||||||
except requests.exceptions.ConnectionError as err:
|
except requests.exceptions.ConnectionError as err:
|
||||||
logger.info(
|
logger.info(
|
||||||
f"Failed to send deployment type and version " f"number to the analytics server: {err}"
|
f"Failed to send deployment type and version number to the analytics server: {err}"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue