file_validation: don't crash when fargo messed up (#14224)
This commit is contained in:
parent
87457ba861
commit
f350397597
|
@ -50,7 +50,7 @@ def fargo_get(url):
|
|||
response, status, data, auth_header = http_get_page(url)
|
||||
if status == 200:
|
||||
return json_loads(data)
|
||||
return None
|
||||
return {'err': 1}
|
||||
|
||||
|
||||
def fargo_post_json(url, payload):
|
||||
|
|
Loading…
Reference in New Issue