Skip to content
Snippets Groups Projects
Commit 0948ca5b authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #9337: Backported OutputProc fixes to release branch

parent 6ba0ce66
No related branches found
No related tags found
No related merge requests found
......@@ -119,6 +119,9 @@ namespace LOFAR
MeasurementSetFormat::~MeasurementSetFormat()
{
ScopedLock scopedLock(sharedMutex);
itsMS = 0;
}
......@@ -132,6 +135,9 @@ namespace LOFAR
/// Next make a metafile which describes the raw datafile we're
/// going to write
createMSMetaFile(MSname, subband);
// Release itsMS, we don't need it anymore
itsMS = 0;
}
......
......@@ -172,6 +172,15 @@ namespace LOFAR
if (!itsParset.settings.realTime)
THROW(StorageException, ex);
#if defined HAVE_AIPSPP
}
catch (casa::AipsError &ex)
{
LOG_ERROR_STR(itsLogPrefix << "Could not create meta data (AipsError): " << ex.what());
if (!itsParset.settings.realTime)
THROW(StorageException, ex.what());
#endif
}
}
......@@ -188,6 +197,15 @@ namespace LOFAR
if (!itsParset.settings.realTime)
THROW(StorageException, ex);
#if defined HAVE_AIPSPP
}
catch (casa::AipsError &ex)
{
LOG_ERROR_STR(itsLogPrefix << "Could not add final meta data (AipsError): " << ex.what());
if (!itsParset.settings.realTime)
THROW(StorageException, ex.what());
#endif
}
}
......
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