From 0bce05572cde61816884c3eaba8b5a9e0c5546ac Mon Sep 17 00:00:00 2001 From: Arthur Peters Date: Sun, 25 Apr 2021 17:41:14 -0500 Subject: [PATCH] tsuba: Include the property names in the error if not unique. --- libtsuba/src/RDGCore.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libtsuba/src/RDGCore.cpp b/libtsuba/src/RDGCore.cpp index 5562b30c2e..8d329207f0 100644 --- a/libtsuba/src/RDGCore.cpp +++ b/libtsuba/src/RDGCore.cpp @@ -57,7 +57,8 @@ UpsertProperties( if (!next->schema()->HasDistinctFieldNames()) { return KATANA_ERROR( - tsuba::ErrorCode::Exists, "column names are not distinct"); + tsuba::ErrorCode::Exists, "column names are not distinct: {}", + fmt::join(next->schema()->field_names(), ", ")); } *to_update = next;