mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-27 00:40:45 +02:00
Fix bug
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user