Skip to content
Snippets Groups Projects
Commit bedcb339 authored by Janet Goldstein's avatar Janet Goldstein
Browse files

WS-179-4 WIP: getting rid of sys.exit() calls

parent b8b90f10
No related branches found
No related tags found
1 merge request!173remove system exits from datafetcher tests
......@@ -112,11 +112,7 @@ def main():
from the command line.
"""
try:
args = get_arg_parser().parse_args()
except (SystemExit, Exception) as exc:
# most likely a parameter was omitted
raise MissingSettingsException from exc
args = get_arg_parser().parse_args()
settings = get_capo_settings(args.profile)
DataFetcher(args, settings).run()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment