Skip to content

Commit b9c8e5c

Browse files
committed
handle errors properly
1 parent 8e9dfe4 commit b9c8e5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/problem.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,9 @@ def run_all(select_verdict, select):
14591459
return None, None, None
14601460

14611461
cur_ok, verdict_table = Problem.run_some(testcases, cur_submissions)
1462-
ok &= cur_ok
1462+
if not cur_ok:
1463+
ok = False
1464+
return None, None, None
14631465

14641466
def get_slowest(result):
14651467
slowest_pair = result.slowest_testcase()

0 commit comments

Comments
 (0)