Skip to content

Commit

Permalink
build: print traceback in leaderboard hydate
Browse files Browse the repository at this point in the history
  • Loading branch information
zhudotexe committed Apr 16, 2024
1 parent 5c99e6e commit a8ca172
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions leaderboard-submissions/hydrate.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import hashlib
import json
import os
import traceback
from collections import namedtuple
from dataclasses import asdict, dataclass
from pathlib import Path
Expand Down Expand Up @@ -81,6 +82,7 @@ def hydrate_all():
except Exception as e:
# if invalid, log a check annotation and mark job failure
print(f"::error file={metadata_fp},title=Could not eval submission::{e}")
traceback.print_exc()
exit_code = 1

print(f"Done. Wrote {len(written_files)} results files.")
Expand Down

0 comments on commit a8ca172

Please sign in to comment.