Skip to content
Snippets Groups Projects
Commit ab2f4d4d authored by David Huss's avatar David Huss :speech_balloon:
Browse files

Return to default color after server has been reached again

parent 23e437e6
Branches
No related tags found
No related merge requests found
......@@ -206,10 +206,10 @@ def process_request(output_queue, config=None, logger=None):
reached == True
else:
if logger is not None:
logger.warn("Didn't reach server at {} for {} attempts: Server responded with {}".format(url, attempts, r.status))
logger.warning("Didn't reach server at {} for {} attempts: Server responded with {}".format(url, attempts, r.status))
except Exception as e:
if logger is not None:
logger.warn("Didn't reach server at {} for {} attempts: ".format(url, attempts, e))
logger.warning("Didn't reach server at {} for {} attempts: ".format(url, attempts, e))
attempts += 1
time.sleep(6)
logger.warn("Reached server again after {} attempts ".format(attempts))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment