From 55799fdb136461a0bf54ea5b5250da962891bbdd Mon Sep 17 00:00:00 2001 From: Steve Eardley Date: Mon, 18 Sep 2023 17:12:07 +0100 Subject: [PATCH] Add URL to plausible logging --- portality/lib/plausible.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portality/lib/plausible.py b/portality/lib/plausible.py index 2aa602d986..44f844ba4f 100644 --- a/portality/lib/plausible.py +++ b/portality/lib/plausible.py @@ -62,7 +62,7 @@ def send_event(goal: str, on_completed=None, **props_kwargs): def _send(): resp = requests.post(plausible_api_url, json=payload, headers=headers) if resp.status_code >= 300: - logger.warning(f'send plausible event api fail. [{resp.status_code}][{resp.text}]') + logger.warning(f'Send plausible event API fail: [{resp.url}][{resp.status_code}][{resp.text}]') if on_completed: on_completed(resp)