diff options
author | Jordan Cook <jordan.cook@pioneer.com> | 2022-01-10 14:03:53 -0600 |
---|---|---|
committer | Jordan Cook <jordan.cook@pioneer.com> | 2022-01-10 14:03:55 -0600 |
commit | f568ab178c5e296d50887f0012e007eeb53b2798 (patch) | |
tree | 6bd71e6215f8d9d6ab66ff910ed87e1d09b5696a /requests_cache/cache_keys.py | |
parent | f70bd2ef3d8703454e6fcfe7f037b8f4b3b58370 (diff) | |
download | requests-cache-f568ab178c5e296d50887f0012e007eeb53b2798.tar.gz |
Bump invalid JSON message from 'warning' to 'debug' log level
Fixes #494
Diffstat (limited to 'requests_cache/cache_keys.py')
-rw-r--r-- | requests_cache/cache_keys.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/requests_cache/cache_keys.py b/requests_cache/cache_keys.py index 5b86a1a..80cb6c5 100644 --- a/requests_cache/cache_keys.py +++ b/requests_cache/cache_keys.py @@ -167,7 +167,7 @@ def normalize_json_body( return json.dumps(body) # If it's invalid JSON, then don't mess with it except (AttributeError, TypeError, ValueError): - logger.warning('Invalid JSON body:', exc_info=True) + logger.debug('Invalid JSON body:', exc_info=True) return original_body |