Catch exception from writer module init
Created by: dominikwerder
Description of work
- Catch exceptions from writer module initialization
- Add more details via
throw_with_nested
in some places - Attempt HDF5
flush
andclose
only given a valid file handle to avoid the corresponding exceptions in that case - Factored body of loop into new function
extractStreamInformationFromJsonForSource
Issue
Closes #253 (closed)
Acceptance Criteria
- Wrong settings especially in the
stream
children ofnexus_structure
should now be caught