From a817d21061848c90b1022ec93116567abed8942e Mon Sep 17 00:00:00 2001 From: Kyle Mahan Date: Tue, 3 Nov 2015 21:13:43 -0800 Subject: [PATCH] downgrade malformed Flickr response to a warning --- oauth_dropins/flickr_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauth_dropins/flickr_auth.py b/oauth_dropins/flickr_auth.py index f74537f3..02e256c7 100644 --- a/oauth_dropins/flickr_auth.py +++ b/oauth_dropins/flickr_auth.py @@ -67,7 +67,7 @@ def call_api_method(method, params, token_key, token_secret): try: body = json.loads(text) except BaseException: - logging.exception('malformed flickr response: %s', text[:1000]) + logging.warning('Ignoring malformed flickr response: %s', text[:1000]) body = {} # Flickr returns HTTP success even for errors, so we have to fake it