summaryrefslogtreecommitdiffstats
path: root/lib/edi/STIDecoder.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-03-11 12:07:49 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-03-11 12:07:49 +0100
commitc7795fcd30a6649eede1abac18bcfbfd0ecd0975 (patch)
treec2d68bbd6ce03cdbb94a6dc32e695203d42a9c98 /lib/edi/STIDecoder.cpp
parentb5d43cff287d75de370ee94193b1162b5ab1038c (diff)
downloaddabmux-c7795fcd30a6649eede1abac18bcfbfd0ecd0975.tar.gz
dabmux-c7795fcd30a6649eede1abac18bcfbfd0ecd0975.tar.bz2
dabmux-c7795fcd30a6649eede1abac18bcfbfd0ecd0975.zip
Pull changes from common 887a122 and d609df3
Diffstat (limited to 'lib/edi/STIDecoder.cpp')
-rw-r--r--lib/edi/STIDecoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/edi/STIDecoder.cpp b/lib/edi/STIDecoder.cpp
index 1f5d45e..d55cc12 100644
--- a/lib/edi/STIDecoder.cpp
+++ b/lib/edi/STIDecoder.cpp
@@ -110,7 +110,7 @@ bool STIDecoder::decode_dsti(const vector<uint8_t> &value, uint16_t)
(md.rfadf ? 9 : 0);
if (value.size() != expected_length) {
- throw std::logic_error("EDI dsti: Assertion error:"
+ throw std::runtime_error("EDI dsti: decoding error:"
"value.size() != expected_length: " +
to_string(value.size()) + " " +
to_string(expected_length));