Skip to content

Commit

Permalink
tsuba: Include the property names in the error if not unique.
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurp committed Apr 27, 2021
1 parent 2b58bae commit 86b0d09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libtsuba/src/RDGCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 86b0d09

Please sign in to comment.