Skip bad decoded frames, but not exit
authorEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Mon, 20 Jun 2016 01:27:55 +0000 (03:27 +0200)
committerEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Mon, 20 Jun 2016 01:27:55 +0000 (03:27 +0200)
example/diameter/batchConverter/main.cpp

index 12265cf..85f7948 100644 (file)
@@ -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());
   }
 }