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

Task #9337: Catch AipsError if creating MeasurementSet.

parent 8551374f
Branches
Tags
No related merge requests found
...@@ -172,6 +172,15 @@ namespace LOFAR ...@@ -172,6 +172,15 @@ namespace LOFAR
if (!itsParset.settings.realTime) if (!itsParset.settings.realTime)
THROW(StorageException, ex); 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
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment