summaryrefslogtreecommitdiffstats
path: root/src/fig/FIG0_3.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-02-21 16:40:08 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-02-21 16:40:08 +0100
commitde472d4b7f674cd24c4dafa30ca42bd73665e4f8 (patch)
tree794f35bddbd6c49984c2885a10f76a311ded75ff /src/fig/FIG0_3.cpp
parent9b5dad36648022a1d78f4060a30edc0fb8e32001 (diff)
downloaddabmux-de472d4b7f674cd24c4dafa30ca42bd73665e4f8.tar.gz
dabmux-de472d4b7f674cd24c4dafa30ca42bd73665e4f8.tar.bz2
dabmux-de472d4b7f674cd24c4dafa30ca42bd73665e4f8.zip
Let FIGs fail more gently in case of errors
Diffstat (limited to 'src/fig/FIG0_3.cpp')
-rw-r--r--src/fig/FIG0_3.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/fig/FIG0_3.cpp b/src/fig/FIG0_3.cpp
index 9362a78..5698236 100644
--- a/src/fig/FIG0_3.cpp
+++ b/src/fig/FIG0_3.cpp
@@ -85,10 +85,11 @@ FillStatus FIG0_3::fill(uint8_t *buf, size_t max_size)
if (subchannel == ensemble->subchannels.end()) {
etiLog.log(error,
- "Subchannel %i does not exist for component "
- "of service %i\n",
- (*componentFIG0_3)->subchId, (*componentFIG0_3)->serviceId);
- throw MuxInitException();
+ "FIG0/3: Subchannel %i does not exist "
+ "for component of service %i",
+ (*componentFIG0_3)->subchId,
+ (*componentFIG0_3)->serviceId);
+ continue;
}
if ((*subchannel)->type != subchannel_type_t::Packet)