diff --git a/scouts_kampvisum_api/scouts_auth/groupadmin/services/group_admin.py b/scouts_kampvisum_api/scouts_auth/groupadmin/services/group_admin.py index 5a3c20e2..9f362639 100644 --- a/scouts_kampvisum_api/scouts_auth/groupadmin/services/group_admin.py +++ b/scouts_kampvisum_api/scouts_auth/groupadmin/services/group_admin.py @@ -99,6 +99,7 @@ def post(self, endpoint: str, payload: dict, active_user: settings.AUTH_USER_MOD response = requests.post(endpoint, data=payload) response.raise_for_status() except requests.exceptions.HTTPError as error: + logger.warn(response.text) if error.response.status_code == 404: raise Http404( f"404 - Unable to post to endpoint {endpoint} with payload {payload}"