|
|
@ -308,7 +308,7 @@ def main() -> int:
|
|
|
|
except KeyError:
|
|
|
|
except KeyError:
|
|
|
|
output(response.json())
|
|
|
|
output(response.json())
|
|
|
|
return 1
|
|
|
|
return 1
|
|
|
|
except json.JSONDecodeError:
|
|
|
|
except requests.exceptions.JSONDecodeError:
|
|
|
|
output(
|
|
|
|
output(
|
|
|
|
error("Could not decode api response as JSON", "Could not decode"))
|
|
|
|
error("Could not decode api response as JSON", "Could not decode"))
|
|
|
|
return 1
|
|
|
|
return 1
|
|
|
|