Skip to content

Commit

Permalink
[c++] Offer column name on a particular error message (#3218)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl authored Oct 22, 2024
1 parent 928c281 commit f448271
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libtiledbsoma/src/utils/arrow_adapter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1278,8 +1278,9 @@ ArrowAdapter::to_arrow(std::shared_ptr<ColumnBuffer> column) {

if (array->n_buffers != n_buffers) {
throw TileDBSOMAError(fmt::format(
"[ArrowAdapter] expected array n_buffers {}; got {}",
"[ArrowAdapter] expected array n_buffers {} for column {}; got {}",
n_buffers,
column->name(),
array->n_buffers));
}

Expand Down

0 comments on commit f448271

Please sign in to comment.