This commit is contained in:
Sergi Delgado Segura
2020-04-09 17:15:24 +02:00
parent 79231c6b38
commit 472efd847b
2 changed files with 4 additions and 4 deletions

View File

@@ -166,7 +166,7 @@ def get_appointment(locator, cli_sk, teos_pk, teos_url):
# Send request to the server.
get_appointment_endpoint = "{}/get_appointment".format(teos_url)
logger.info("Sending appointment to the Eye of Satoshi")
logger.info("Requesting appointment from the Eye of Satoshi")
response = process_post_response(post_request(data, get_appointment_endpoint))
return response
@@ -469,7 +469,7 @@ def main(command, args, command_line_conf):
except (FileNotFoundError, IOError, ConnectionError, ValueError) as e:
logger.error(str(e))
except (InvalidKey, InvalidParameter, TowerResponseError) as e:
logger.error(e.reason, **e.params)
logger.error(e.reason, **e.kwargs)
except Exception as e:
logger.error("Unknown error occurred", error=str(e))