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

Better Error handling on broken connections

parent 78450b9f
Branches
No related tags found
No related merge requests found
......@@ -374,7 +374,7 @@ def update_id_patterns(config, logger) -> 'Config':
except requests.packages.urllib3.exceptions.MaxRetryError as e:
logger.error(f"Couldn't reach server at \"{url}\" (Timeout, using existing patterns instead): {e}")
return config
except requests.packages.urllib3.exceptions.ConnectionRefusedError as e:
except requests.exceptions.ConnectionRefusedError as e:
logger.error(f"Couldn't reach server at \"{url}\" (Connection Refused, using existing patterns instead): {e}")
return config
except requests.packages.urllib3.exceptions.NewConnectionError as e:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment