Skip to content

Commit

Permalink
driver.resource: Suppress logging resource tracking errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
chfoo committed Jan 3, 2015
1 parent ce2e48d commit 98f8d44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wpull/driver/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def process_response(self, response):

except KeyError:
# FIXME:
_logger.exception('Resource tracking lost a resource.')
_logger.debug('Resource tracking lost a resource.', exc_info=1)

else:
return resource
Expand All @@ -158,7 +158,7 @@ def process_error(self, resource_error):
self._error.add(resource)
except KeyError:
# FIXME:
_logger.exception('Resource tracking lost a resource.')
_logger.debug('Resource tracking lost a resource.', exc_info=1)
else:
return resource

Expand Down

0 comments on commit 98f8d44

Please sign in to comment.