aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edi/STIDecoder.cpp
diff options
context:
space:
mode:
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));