We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c6ef95 commit 479011aCopy full SHA for 479011a
rosbag2_cpp/src/rosbag2_cpp/writers/sequential_writer.cpp
@@ -333,10 +333,8 @@ void SequentialWriter::switch_to_next_storage()
333
metadata_.relative_file_paths.size());
334
storage_ = storage_factory_->open_read_write(storage_options_);
335
if (!storage_) {
336
- std::stringstream errmsg;
337
- errmsg << "Failed to rollover bagfile to new file: \"" << storage_options_.uri << "\"!";
338
-
339
- throw std::runtime_error(errmsg.str());
+ ROSBAG2_CPP_LOG_ERROR_STREAM("Failed to rollover bagfile to new file: \"" <<
+ storage_options_.uri << "\"! Nothing will be written until the next split.");
340
}
341
342
rosbag2_storage::FileInformation file_info{};
0 commit comments