when Python was not compiled with https support, log an error to the log file
This commit is contained in:
parent
7609078d5a
commit
5dbb19eb50
1 changed files with 3 additions and 1 deletions
|
@ -318,7 +318,9 @@ def send_action(project=None, branch=None, stats=None, key=None, targetFile=None
|
|||
if offline:
|
||||
queue = Queue()
|
||||
queue.push(data, plugin)
|
||||
if log.isEnabledFor(logging.DEBUG):
|
||||
if 'unknown url type: https' in u(sys.exc_info()[1]):
|
||||
log.error(exception_data)
|
||||
elif log.isEnabledFor(logging.DEBUG):
|
||||
log.warn(exception_data)
|
||||
else:
|
||||
log.error(exception_data)
|
||||
|
|
Loading…
Reference in a new issue