diff --git a/src/internal/streams.cc b/src/internal/streams.cc index 3335a84..23bb66b 100644 --- a/src/internal/streams.cc +++ b/src/internal/streams.cc @@ -194,8 +194,8 @@ std::size_t Streams::GetStreamDataMaxSize(const Stream &stream) const { Streams::stream_datas_t Streams::GetStreamDatas(const Stream &stream) { std::unique_lock lock(mtx_); if (!HasStreamDatas(stream) || stream_datas_map_.at(stream).empty()) { - LOG(WARNING) << "There are stream datas of " << stream - << ", do you first call WaitForStreams?"; + LOG(WARNING) << "There are no stream datas of " << stream + << ". Did you call WaitForStreams() before this?"; return {}; } stream_datas_t datas = stream_datas_map_.at(stream);