Report array type when UnknownArrayHandle::ExtractComponent fails
Sneak this into an unrelated MR because I missed it in the last one.
This commit is contained in:
parent
e1ac918bc7
commit
9ca0cd1f6c
@ -682,7 +682,7 @@ public:
|
|||||||
if (!this->IsBaseComponentType<BaseComponentType>())
|
if (!this->IsBaseComponentType<BaseComponentType>())
|
||||||
{
|
{
|
||||||
VTKM_LOG_CAST_FAIL(*this, ComponentArrayType);
|
VTKM_LOG_CAST_FAIL(*this, ComponentArrayType);
|
||||||
throwFailedDynamicCast(vtkm::cont::TypeToString(*this),
|
throwFailedDynamicCast("UnknownArrayHandle with " + this->GetArrayTypeName(),
|
||||||
"component array of " + vtkm::cont::TypeToString<BaseComponentType>());
|
"component array of " + vtkm::cont::TypeToString<BaseComponentType>());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user