From 639d4412e1b94a2af64fb64e2c6624bfff5c2e19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Casaj=C3=BAs?= Date: Thu, 10 Feb 2022 12:47:31 +0100 Subject: [PATCH] Updated comments from PR --- app/dashboard/views/support.py | 4 ++-- templates/dashboard/support.html | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/dashboard/views/support.py b/app/dashboard/views/support.py index 387217ef..8bdf40e1 100644 --- a/app/dashboard/views/support.py +++ b/app/dashboard/views/support.py @@ -28,9 +28,9 @@ def show_support_dialog(): def check_zendesk_response_status(response_code: int) -> bool: if response_code != 201: if response_code in (401 or 422): - LOG.debug("Could not authenticate") + LOG.error("Could not authenticate") else: - LOG.debug("Problem with the request. Status {}".format(response_code)) + LOG.error("Problem with the request. Status {}".format(response_code)) return False return True diff --git a/templates/dashboard/support.html b/templates/dashboard/support.html index 7a668c4b..e1f87d86 100644 --- a/templates/dashboard/support.html +++ b/templates/dashboard/support.html @@ -19,7 +19,7 @@ {% block script %}