From dc3cafd23d2d087ca77f6dcc90a2e72a300c0cd1 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sat, 27 Aug 2022 10:13:38 +0200 Subject: [PATCH] Debug message improved (fix for #2516) --- cps/kobo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cps/kobo.py b/cps/kobo.py index c379e9a2..386b658d 100644 --- a/cps/kobo.py +++ b/cps/kobo.py @@ -958,7 +958,7 @@ def HandleBookDeletionRequest(book_uuid): @csrf.exempt @kobo.route("/v1/library/", methods=["DELETE", "GET"]) def HandleUnimplementedRequest(dummy=None): - log.debug("Unimplemented Library Request received: %s", request.base_url) + log.debug("Unimplemented Library Request received: %s (request is forwarded to kobo if configured)", request.base_url) return redirect_or_proxy_request() @@ -970,7 +970,7 @@ def HandleUnimplementedRequest(dummy=None): @kobo.route("/v1/user/recommendations", methods=["GET", "POST"]) @kobo.route("/v1/analytics/", methods=["GET", "POST"]) def HandleUserRequest(dummy=None): - log.debug("Unimplemented User Request received: %s", request.base_url) + log.debug("Unimplemented User Request received: %s (request is forwarded to kobo if configured)", request.base_url) return redirect_or_proxy_request() @@ -1010,7 +1010,7 @@ def handle_getests(): @kobo.route("/v1/affiliate", methods=["GET", "POST"]) @kobo.route("/v1/deals", methods=["GET", "POST"]) def HandleProductsRequest(dummy=None): - log.debug("Unimplemented Products Request received: %s", request.base_url) + log.debug("Unimplemented Products Request received: %s (request is forwarded to kobo if configured)", request.base_url) return redirect_or_proxy_request()