New ApplicationMessageOamModule in diameter::comm, to dynamically manage application...
[anna.git] / example / diameter / launcher / MyLocalServer.cpp
index 5e3ca1f..7db0d87 100644 (file)
@@ -105,7 +105,6 @@ throw(anna::RuntimeException) {
     if(my_app.logEnabled()) my_app.writeLogFile(*answer_message, "sent2c", serverSession->asString());
   } catch(anna::RuntimeException &ex) {
     ex.trace();
-
     if(my_app.logEnabled()) my_app.writeLogFile(*answer_message, "send2cError", serverSession->asString());
   }
 
@@ -180,7 +179,7 @@ throw(anna::RuntimeException) {
       anna::diameter::comm::ClientSession *usedClientSession = my_app.getMyDiameterEngine()->findClientSession(request->getRequestClientSessionKey());
       std::string detail;
 
-      if(my_app.logEnabled()) detail = usedClientSession ? usedClientSession->asString() : "<null client session>";  // esto no deberia ocurrir
+      if(my_app.logEnabled()) detail = usedClientSession ? usedClientSession->asString() : "<null client session>";  // this should not happen
 
       try {
         anna::diameter::comm::Message *msg = my_app.createCommMessage();
@@ -200,7 +199,6 @@ throw(anna::RuntimeException) {
         if(my_app.logEnabled()) my_app.writeLogFile(*message, "fwd2e", detail);  // forwarded
       } catch(anna::RuntimeException &ex) {
         ex.trace();
-
         if(my_app.logEnabled()) my_app.writeLogFile(*message, "fwd2eError", detail);  // forwarded
       }
     }