Skip to content

Commit

Permalink
Merge pull request #183 from infobloxopen/move_error_while_search_to_…
Browse files Browse the repository at this point in the history
…warning

Move error while search to warning
  • Loading branch information
adsri authored Feb 6, 2018
2 parents 2233150 + 324e4f3 commit c8c8d69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infoblox_client/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,8 @@ def _get_object(self, obj_type, url):
self._validate_authorized(r)

if r.status_code != requests.codes.ok:
LOG.error("Error occurred on object search: %s", r.content)
LOG.warning("Failed on object search with url %s: %s",
url, r.content)
return None
return self._parse_reply(r)

Expand Down

0 comments on commit c8c8d69

Please sign in to comment.