From c7795fcd30a6649eede1abac18bcfbfd0ecd0975 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 11 Mar 2020 12:07:49 +0100 Subject: Pull changes from common 887a122 and d609df3 --- lib/edi/STIDecoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/edi/STIDecoder.cpp') 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 &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)); -- cgit v1.2.3