diff options
-rw-r--r-- | ogcp/views.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ogcp/views.py b/ogcp/views.py index bd74515..1e2cfac 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -241,6 +241,9 @@ def multi_request(method, uri, payload=None): if not r: continue + if r.status_code != requests.codes.ok: + continue + response['server'] = server response['json'] = r.json() responses.append(response) |