Change log level to info for connector exceptions
These errors in resolve_remote_id aren't really errors, they're routine problems that we can expect from dealing with the outside world, like a connection timeout, a server being down, a server being blocked, et cetera. It's cluttering up the logs and causing unnecessary worry.
This commit is contained in:
parent
d40cc21460
commit
b37a4322de
2 changed files with 2 additions and 2 deletions
|
@ -222,7 +222,7 @@ def dict_from_mappings(data, mappings):
|
|||
return result
|
||||
|
||||
|
||||
def get_data(url, params=None, timeout=10):
|
||||
def get_data(url, params=None, timeout=settings.QUERY_TIMEOUT):
|
||||
"""wrapper for request.get"""
|
||||
# check if the url is blocked
|
||||
raise_not_valid_url(url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue