diff --git a/varnish-cleanup/cleanup_handler.py b/varnish-cleanup/cleanup_handler.py index 2c3b617..6eb309b 100644 --- a/varnish-cleanup/cleanup_handler.py +++ b/varnish-cleanup/cleanup_handler.py @@ -65,7 +65,7 @@ def _handle_message(received_message): logger.debug(f"banned {id}") else: success = False - logger.error(f"failed to ban {id} - {response.content}") + logger.error(f"failed to ban {id} - {response.status_code} {response.text}") return success