Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Source/LSLInletThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ bool LSLInletThread::updateBuffer()
}
catch (const std::runtime_error &re)
{
std::cout << "Failed to read data samples with runtime error: " << re.what() << std::endl;
LOGE("Failed to read data samples with runtime error: ", re.what());
}
catch (const std::exception &ex)
{
std::cout << "Failed to read data samples with exception: " << ex.what() << std::endl;
LOGE("Failed to read data samples with runtime exception: ", ex.what());
}

if (multiplexed_samples_read <= 0)
Expand Down Expand Up @@ -177,11 +177,11 @@ void LSLInletThread::readMarkers(std::size_t samples_to_read)
}
catch (const std::runtime_error &re)
{
std::cout << "Failed to read markers with runtime error: " << re.what() << std::endl;
LOGE("Failed to read markers with runtime error: ", re.what());
}
catch (const std::exception &ex)
{
std::cout << "Failed to read markers with exception: " << ex.what() << std::endl;
LOGE("Failed to read markers with exception: ", ex.what());
}
}

Expand Down Expand Up @@ -407,12 +407,12 @@ bool LSLInletThread::setMarkersMappingPath(std::string filePath)
}
catch (const std::runtime_error &re)
{
std::cout << "Failed to read markers mapping file with runtime error: " << re.what() << std::endl;
LOGE("Failed to read markers mapping file with runtime error: ", re.what());
return false;
}
catch (const std::exception &ex)
{
std::cout << "Failed to read markers mapping file with exception: " << ex.what() << std::endl;
LOGE("Failed to read markers mapping file with runtime exception: ", ex.what());
return false;
}

Expand Down