Skip to content

Commit 0cdf8c8

Browse files
tomvdwThe TensorFlow Datasets Authors
authored andcommitted
display reraised error more clearly
PiperOrigin-RevId: 663243783
1 parent ff7171e commit 0cdf8c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_datasets/core/split_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def _build_from_generator(
405405
shard_lengths, total_size = writer.finalize()
406406
except Exception as e: # pylint: disable=broad-except
407407
utils.reraise(
408-
e, prefix=f'Failed to finalize writing of split "{split_name}"'
408+
e, prefix=f'Failed to finalize writing of split "{split_name}": '
409409
)
410410

411411
split_info = splits_lib.SplitInfo(

0 commit comments

Comments
 (0)