From 97a93101fb874a3237083d72c6d6f8c8df8dcfba Mon Sep 17 00:00:00 2001 From: Eduardo Ramos Testillano Date: Mon, 20 Jun 2016 03:27:55 +0200 Subject: [PATCH] Skip bad decoded frames, but not exit --- example/diameter/batchConverter/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example/diameter/batchConverter/main.cpp b/example/diameter/batchConverter/main.cpp index 12265cf..85f7948 100644 --- a/example/diameter/batchConverter/main.cpp +++ b/example/diameter/batchConverter/main.cpp @@ -73,7 +73,8 @@ void decodeDataBlock(const anna::DataBlock &db/*, unsigned int & detectedApplica G_codecMsg.clear(); G_codecMsg.decode(db); } catch(RuntimeException &ex) { - _exit(ex.asString()); + std::cerr << ex.asString() << std::endl << std::endl; + //_exit(ex.asString()); } } -- 2.20.1