Skip to content

Commit

Permalink
fix: ignore JSON conversion throw in partial chains output
Browse files Browse the repository at this point in the history
  • Loading branch information
beniz authored and sileht committed Nov 5, 2020
1 parent b6bb75d commit 742c1c7
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/apidata.h
Original file line number Diff line number Diff line change
Expand Up @@ -472,18 +472,15 @@ namespace dd
void operator()(const std::vector<cv::Mat> &vcv)
{
(void)vcv;
// Not Implemented
throw DataConversionException(
"JSON conversion of std::vector<cv::Mat> is not supported");
// ignore this datatype for output, until output JSON API structure is
// automatically validated.
}

void operator()(const std::vector<std::pair<int, int>> &vpi)
{
(void)vpi;
// Not Implemented
throw DataConversionException(
"JSON conversion of std::vector<std::pair<int,int>> is not "
"supported");
// ignore this datatype for output, until output JSON API structure is
// automatically validated.
}

void operator()(const std::vector<APIData> &vad)
Expand Down

0 comments on commit 742c1c7

Please sign in to comment.