X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Ftesting%2FTestStep.cpp;h=07ed685e44efd3dbc38c34e8a33b6bc492987a7b;hp=9bb5230d809e8fd98d561cf2e1d512fb800718c4;hb=2dc559e7fbe3f250f5aff1a23614181fc0b2e7f1;hpb=690d4110803d0548aa6aabb31d606404f4b5c7f0 diff --git a/example/diameter/launcher/testing/TestStep.cpp b/example/diameter/launcher/testing/TestStep.cpp index 9bb5230..07ed685 100644 --- a/example/diameter/launcher/testing/TestStep.cpp +++ b/example/diameter/launcher/testing/TestStep.cpp @@ -181,7 +181,10 @@ bool TestStep::decodeMessage(bool trust) throw() { if (a_messageCodec) return true; a_messageCodec = new anna::diameter::codec::Message; if (::decodeMessage(a_message, *a_messageCodec)) return true; - if (trust) return true; + if (trust) { + LOGDEBUG(anna::Logger::debug("Error DECODING, but trusting it ...", ANNA_FILE_LOCATION)); + return true; + } delete a_messageCodec; a_messageCodec = NULL;