Skip to content

Commit

Permalink
Nit: add details to "no implementation available" error message
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 718016374
  • Loading branch information
MediaPipe Team authored and copybara-github committed Jan 21, 2025
1 parent 7769ae3 commit 5c305c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mediapipe/calculators/tensor/inference_calculator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ class InferenceCalculatorSelectorImpl
impl_node.set_calculator(impl);
return tool::MakeSingleNodeGraph(std::move(impl_node));
}
return absl::UnimplementedError("no implementation available");
return absl::UnimplementedError(
absl::StrCat("no implementation available with suffixes: ",
absl::StrJoin(impls, ", ")));
}
};

Expand Down

0 comments on commit 5c305c0

Please sign in to comment.