diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index cf24a6a9..789a8a0c 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -2256,6 +2256,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; } @@ -2706,6 +2707,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 @@ -3028,6 +3030,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