From: seolheui kim Date: Mon, 4 Jun 2018 09:32:28 +0000 (+0900) Subject: Fix error handling for missing ack error from netlink X-Git-Tag: submit/tizen/20190219.012108~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b4b2bf3ef829bdfeec597f177a26eb8e58f83f5;p=platform%2Fcore%2Fsecurity%2Fklay.git Fix error handling for missing ack error from netlink Change-Id: I4430a451ba15877c16944e3dcca0bf4b91bfe83c Signed-off-by: seolheui kim --- diff --git a/src/netlink/netlink.cpp b/src/netlink/netlink.cpp index e058c35..2b86d26 100644 --- a/src/netlink/netlink.cpp +++ b/src/netlink/netlink.cpp @@ -22,6 +22,7 @@ #include #include +#include #include namespace netlink { @@ -97,7 +98,7 @@ void Netlink::send(int type, const std::vector& 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"); } }