Skip to content

Commit

Permalink
Add extra debug logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
hdanak committed Jan 27, 2018
1 parent 0fa56bb commit d62258c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/flir_gige/flir_gige.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ bool FlirGige::FindDevice(const std::string & ip, const PvDeviceInfoGEVVec & dev
PvDevice::Free(PvDevice::CreateAndConnect(deviceInfo, &result));
if (result.IsOK())
return true;

std::cerr << "Skipping matching device with IP '" << ip
<< "' on interface '" << deviceInfo->GetInterface()->GetName().GetAscii()
<< "'." << std::endl;
}

return false;
Expand Down

0 comments on commit d62258c

Please sign in to comment.