Skip to content

Commit

Permalink
main: Fix cache response error message
Browse files Browse the repository at this point in the history
  • Loading branch information
spbnick committed Feb 12, 2024
1 parent 3daaf08 commit f5415d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,8 +561,8 @@ def kcidb_cache_redirect(request):

if not url_to_fetch:
# If the URL is empty, return a 400 (Bad Request) error
response_body = "Put a valid URL to query from \
the caching system."
response_body = "Provide a valid URL to query from " \
"the caching system."
return (response_body, 400, {})

# Check if the URL is in the cache
Expand Down

0 comments on commit f5415d0

Please sign in to comment.