Gracefully handle API connect timeouts

Prevents dumping a massive stacktrace if connection fails.
This commit is contained in:
2020-01-30 09:19:36 -05:00
parent ab28bf40d1
commit ebfd9c1882
2 changed files with 43 additions and 36 deletions

View File

@ -33,7 +33,6 @@ import colorama
import yaml
import json
import lxml.etree as etree
import requests
from distutils.util import strtobool