Fix displaying SM nullptr error 71/150471/2
authorZofia Abramowska <z.abramowska@samsung.com>
Fri, 15 Sep 2017 16:06:35 +0000 (18:06 +0200)
committerTomasz Swierczek <t.swierczek@samsung.com>
Mon, 18 Sep 2017 09:42:40 +0000 (09:42 +0000)
Change-Id: I9b7521adb8bbd1d0c5c67a9e4db29112bfa0c95d

src/common/policy/Policy.cpp

index f8d4818..fc48163 100644 (file)
@@ -39,7 +39,7 @@ inline void throwOnSMError(std::string err, int ret)
 inline void throwOnSMNullptr(std::string err, const char *ret)
 {
     if (ret == nullptr)
-        throw AskUser::Exception("SM error : " + err + " : " + ret);
+        throw AskUser::Exception("SM returned null : " + err);
 }
 }