Skip to content

Commit

Permalink
temp (#3530)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl authored Jan 7, 2025
1 parent f01c0c6 commit 6deb2e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libtiledbsoma/src/soma/soma_object.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ std::unique_ptr<SOMAObject> SOMAObject::open(
auto array_type = array_->type();

if (!array_type.has_value())
throw TileDBSOMAError(
"[SOMAObject::open] SOMAArray has no type info");
throw TileDBSOMAError(std::format(
"[SOMAObject::open] SOMAArray '{}' has no type info", uri));

std::transform(
array_type->begin(),
Expand All @@ -74,8 +74,8 @@ std::unique_ptr<SOMAObject> SOMAObject::open(
auto group_type = group_->type();

if (!group_type.has_value())
throw TileDBSOMAError(
"[SOMAObject::open] SOMAGroup has no type info");
throw TileDBSOMAError(std::format(
"[SOMAObject::open] SOMAGroup '{}' has no type info", uri));

std::transform(
group_type->begin(),
Expand Down

0 comments on commit 6deb2e1

Please sign in to comment.