diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index dc44b446..005b5af1 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -1678,6 +1678,7 @@ bool CPhoneDevice::onOneCapture(std::shared_ptr characteristics if (rgb.empty()) { + XYLOG(XYLOG_SEVERITY_ERROR, "Empty Mat object CH=%u IMGID=%u", (uint32_t)photoInfo.channel, (uint32_t)photoInfo.photoId); TakePhotoCb(0, photoInfo, "", takingTime); return true; } @@ -2052,6 +2053,7 @@ bool CPhoneDevice::onBurstCapture(std::shared_ptr characteristi if (rgb.empty()) { + XYLOG(XYLOG_SEVERITY_ERROR, "Empty Mat object CH=%u IMGID=%u", (uint32_t)photoInfo.channel, (uint32_t)photoInfo.photoId); pThis->TakePhotoCb(0, photoInfo, path, takingTime); } else @@ -2369,6 +2371,7 @@ bool CPhoneDevice::onBurstCapture(std::shared_ptr characteristi if (rgb.empty()) { + XYLOG(XYLOG_SEVERITY_ERROR, "Empty Mat object CH=%u IMGID=%u", (uint32_t)photoInfo.channel, (uint32_t)photoInfo.photoId); pThis->TakePhotoCb(0, photoInfo, path, takingTime); } else