From: seolheui, kim Date: Fri, 31 Aug 2018 08:12:01 +0000 (+0900) Subject: Fix invalid exception handling X-Git-Tag: submit/tizen_4.0/20180831.082853~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F96%2F188096%2F1;p=platform%2Fcore%2Fsecurity%2Fode.git Fix invalid exception handling Change-Id: I66dca4e1c879a1043f8c771ee8334df2cb8f1a8c Signed-off-by: seolheui, kim --- diff --git a/server/internal-encryption.cpp b/server/internal-encryption.cpp index 05f756e..b762cc2 100644 --- a/server/internal-encryption.cpp +++ b/server/internal-encryption.cpp @@ -197,7 +197,7 @@ void stopSystemdUnits() -1, "(o)", "(ss)", unit.c_str(), "flush").get("(o)", &job); INFO(SINK, "Waiting for job: " + std::string(job)); if (!watch.waitForJob(job)) - throw runtime::Exception("Stopping unit: " + unit + " failed"); + ERROR(SINK, "Stopping unit: " + unit + " failed"); }; for (const std::string &unit : preprocessUnits) { @@ -226,7 +226,7 @@ void showProgressUI(const std::string type) INFO(SINK, "Waiting for job: " + std::string(job)); if (!watch.waitForJob(job)) - throw runtime::Exception("Starting unit: " + unit + " failed"); + ERROR(SINK, "Starting unit: " + unit + " failed"); } unsigned int getOptions()