From 9575b9426cec2641c87802b00e85f1e88a3c428c Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Mon, 14 Jun 2021 19:26:45 +0200 Subject: [PATCH] SW-975: Do not forget original stacktrace for AipsError. We catch it higher up anyway. --- RTCP/Cobalt/OutputProc/src/MeasurementSetFormat.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/RTCP/Cobalt/OutputProc/src/MeasurementSetFormat.cc b/RTCP/Cobalt/OutputProc/src/MeasurementSetFormat.cc index d00ae1631be..fad6f70871b 100644 --- a/RTCP/Cobalt/OutputProc/src/MeasurementSetFormat.cc +++ b/RTCP/Cobalt/OutputProc/src/MeasurementSetFormat.cc @@ -145,7 +145,7 @@ namespace LOFAR void MeasurementSetFormat::createMSTables(const string &MSname, unsigned subband) { - try { + { int subarray = itsPS.settings.subbands[subband].SAP; string directionType = itsPS.settings.SAPs[subarray].direction.type; @@ -220,8 +220,6 @@ namespace LOFAR } catch (LOFAR::AssertError &ex) { LOG_ERROR_STR("Failed to add beam tables: " << ex); } - } catch (AipsError &ex) { - THROW(StorageException, "AIPS/CASA error: " << ex.getMesg()); } // Flush the MS to make sure all tables are written -- GitLab