Skip to content

Commit

Permalink
downgrade malformed Flickr response to a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewm committed Nov 4, 2015
1 parent 1493a99 commit a817d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauth_dropins/flickr_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a817d21

Please sign in to comment.