This commit is contained in:
2018-01-24 16:32:11 +01:00
parent 13791a02c2
commit 8c4ffdce1f
+2 -2
View File
@@ -66,8 +66,8 @@ void write_h5(WriterManager *manager, RingBuffer *ring_buffer, string output_fil
// Even if we can't write the format, lets try to preserve the data.
try {
H5Format::write_format(writer.get_h5_file(), parameters, get_frames_dataset_name());
} catch (const runtime_error& exception) {
cerr << "[h5_zmq_writer::write] Error while trying to write file format: "<< ex.what() << endl
} catch (const runtime_error& ex) {
cerr << "[h5_zmq_writer::write] Error while trying to write file format: "<< ex.what() << endl;
}
}
}