Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 885abd37 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

surround writing modd data with try-catch

ensures sum-entry is added even in case writing mod-data fails
parent d3e5b681
No related branches found
No related tags found
No related merge requests found
......@@ -251,8 +251,14 @@ namespace TUGraz.VectoCore.OutputData
RunSuffix += "_" + filter.ID;
filteredData = filter.Filter(filteredData);
}
_writer.WriteModData(JobRunId, RunName, CycleName, RunSuffix,
new DataView(filteredData).ToTable(false, strCols.ToArray()));
try {
_writer.WriteModData(
JobRunId, RunName, CycleName, RunSuffix,
new DataView(filteredData).ToTable(false, strCols.ToArray()));
} catch (Exception e) {
LogManager.GetLogger(typeof(ModalDataContainer).FullName).Error(e.Message);
}
}
_addReportResult(this);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment