Skip to content

Commit 1718ab1

Browse files
committed
ignore errors
1 parent 4c4755e commit 1718ab1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

atcodertools/tools/envgen.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,11 @@ def prepare_contest(atcoder_client: AtCoderClient,
213213
thread_pool.map(func, tasks)
214214
else:
215215
for argv in tasks:
216-
func(argv)
216+
try:
217+
func(argv)
218+
except Exception:
219+
# Prevent the script from stopping
220+
pass
217221

218222
if config.postprocess_config.exec_cmd_on_contest_dir is not None:
219223
contest_dir_path = os.path.join(workspace_root_path, contest_id)

0 commit comments

Comments
 (0)