"vscode:/vscode.git/clone" did not exist on "9c2719fc384fed50399a9c4254b5f757cf96e37f"
Commit ddb7c0f3 authored by lintangsutawika's avatar lintangsutawika
Browse files

added error message

parent 06eb4e1b
...@@ -41,11 +41,12 @@ for root, subdirs, file_list in os.walk(task_dir): ...@@ -41,11 +41,12 @@ for root, subdirs, file_list in os.walk(task_dir):
if "group" in config: if "group" in config:
for group in config["group"]: for group in config["group"]:
register_group(group)(SubClass) register_group(group)(SubClass)
except Exception: except Exception as error:
eval_logger.warning( eval_logger.warning(
"Failed to load config at in\n" "Failed to load config at in\n"
f" {yaml_path}\n" f" {yaml_path}\n"
" Config will not be added to registry" " Config will not be added to registry"
f" Error: {error}"
) )
ALL_TASKS = sorted(list(TASK_REGISTRY.keys()) + list(GROUP_REGISTRY.keys())) ALL_TASKS = sorted(list(TASK_REGISTRY.keys()) + list(GROUP_REGISTRY.keys()))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment