[datasets] Fix error logging format.
@@ -27,7 +27,6 @@ from compiler_gym.util.commands import Popen
from compiler_gym.util.download import download
from compiler_gym.util.runfiles_path import cache_path, site_data_path
from compiler_gym.util.timer import Timer
-from compiler_gym.util.truncate import truncate
from compiler_gym.validation_result import ValidationError
logger = logging.getLogger(__name__)
@@ -409,7 +408,7 @@ def _make_cBench_validator(
pass
logger.warning(
"Validation callback failed (%s), attempt=%d/%d",
- truncate(str(error), max_line_len=50, max_lines=1),
+ error.type,
j,
flakiness,
)
