X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2FbatchConverter%2Fmain.cpp;h=85f7948bd5877e009ccaaa62181d4a2f90dd972f;hb=97a93101fb874a3237083d72c6d6f8c8df8dcfba;hp=5ccf1c8a15f1aaed8da3c3c9867c574af4f05992;hpb=e80e62a5cf9aacad1a9551c68c432147ef98cd29;p=anna.git diff --git a/example/diameter/batchConverter/main.cpp b/example/diameter/batchConverter/main.cpp index 5ccf1c8..85f7948 100644 --- a/example/diameter/batchConverter/main.cpp +++ b/example/diameter/batchConverter/main.cpp @@ -70,9 +70,11 @@ void _exit(const std::string &message, int resultCode = 1) { // Decodes a diameter message coming from a datablock void decodeDataBlock(const anna::DataBlock &db/*, unsigned int & detectedApplicationId*/) throw() { try { + G_codecMsg.clear(); G_codecMsg.decode(db); } catch(RuntimeException &ex) { - _exit(ex.asString()); + std::cerr << ex.asString() << std::endl << std::endl; + //_exit(ex.asString()); } }