From 3657e0877a14013fbb74379f55b73ebe17b5fce8 Mon Sep 17 00:00:00 2001 From: Salvatore Ingala <6681844+bigspider@users.noreply.github.com> Date: Tue, 22 Oct 2019 14:33:04 +0800 Subject: [PATCH] Forgot parameter in formatting error --- apps/cli/pisa-cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cli/pisa-cli.py b/apps/cli/pisa-cli.py index c304bc7..bcbd97f 100644 --- a/apps/cli/pisa-cli.py +++ b/apps/cli/pisa-cli.py @@ -126,7 +126,7 @@ def add_appointment(args): else: error = r.json()['error'] logger.error("The server returned status code {}, and the following error: {}." - .format(r.status_code)) + .format(r.status_code), error) except json.JSONDecodeError: logger.error("The response was not valid JSON.")