From 41757c3d69c63bbc92986ea24bff438a56266e2f Mon Sep 17 00:00:00 2001 From: Yunjin Lee Date: Wed, 20 Sep 2017 11:04:19 +0900 Subject: [PATCH] [Privilege] Modify error message handling Change-Id: I6f7b2ceaf8eef7c04c9a1c430809d9ffcf0cf9fa Signed-off-by: Yunjin Lee --- src/Tizen.Security/Tizen.Security/Privilege.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Tizen.Security/Tizen.Security/Privilege.cs b/src/Tizen.Security/Tizen.Security/Privilege.cs index 6e2d606..77129dd 100755 --- a/src/Tizen.Security/Tizen.Security/Privilege.cs +++ b/src/Tizen.Security/Tizen.Security/Privilege.cs @@ -196,8 +196,7 @@ namespace Tizen.Security { if (err == (int)ErrorCode.None) return; - string errorMessage = string.Format("[{0}] {1}", ErrorFacts.GetErrorMessage(err), msg); - Tizen.Log.Error(Interop.Privilege.LogTag, errorMessage); + Tizen.Log.Error(Interop.Privilege.LogTag, "[" + ErrorFacts.GetErrorMessage(err) + "] " + msg); switch (err) { case (int)ErrorCode.InvalidParameter: -- 2.7.4