Fix error handling for missing ack error from netlink
authorseolheui kim <s414.kim@samsung.com>
Mon, 4 Jun 2018 09:32:28 +0000 (18:32 +0900)
committerJaemin Ryu <jm77.ryu@samsung.com>
Mon, 11 Feb 2019 04:25:37 +0000 (13:25 +0900)
Change-Id: I4430a451ba15877c16944e3dcca0bf4b91bfe83c
Signed-off-by: seolheui kim <s414.kim@samsung.com>
src/netlink/netlink.cpp

index e058c352030de82e813aaef814bba9492092000d..2b86d26ea1f3d9081745f0454307d6a9a8c6933a 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <klay/error.h>
 #include <klay/exception.h>
+#include <klay/audit/logger.h>
 #include <klay/netlink/netlink.h>
 
 namespace netlink {
@@ -97,7 +98,7 @@ void Netlink::send(int type, const std::vector<char>& data)
                        throw runtime::Exception("Netlink error: " +
                                                                                std::to_string(err->error));
        } else {
-                       throw runtime::Exception("Missing ack of netlink message");
+                       WARN("Missing ack of netlink message");
        }
 }