Skip to content

Commit 57ce0a4

Browse files
committed
add more logging to the failure
1 parent c4c9668 commit 57ce0a4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

python/private/pypi/whl_metadata.bzl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ def whl_metadata(*, install_dir, read_fn, logger):
2626
result = parse_whl_metadata(contents)
2727

2828
if not (result.name and result.version):
29-
logger.fail("Failed to parsed the wheel METADATA file:\n{}".format(contents))
29+
logger.fail("Failed to parsed the wheel METADATA file:\n{}\n{}\n{}".format(
30+
80 * "=",
31+
contents.rstrip("\n"),
32+
80 * "=",
33+
))
3034
return None
3135

3236
return result

0 commit comments

Comments
 (0)