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

Better Error handling on broken connections

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