From bd1a9dbf1ddd56a8eb79720e1182a545b3203ab0 Mon Sep 17 00:00:00 2001 From: "wangwenhua1@huawei.com" Date: Sat, 14 Nov 2020 18:10:16 +0800 Subject: [PATCH] error message add --- inc/framework/common/debug/log.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/framework/common/debug/log.h b/inc/framework/common/debug/log.h index 73990c68..b398a5b8 100644 --- a/inc/framework/common/debug/log.h +++ b/inc/framework/common/debug/log.h @@ -255,7 +255,7 @@ #define GE_ERRORLOG_AND_ERRORMSG(_status, errormsg) \ { \ - GELOGE(_status, "%s", errormsg); \ + GELOGE(_status, "%s", errormsg); \ ErrorManager::GetInstance().ATCReportErrMessage("E10043", {"reason"}, {errormsg}); \ } @@ -264,7 +264,7 @@ do { \ bool b = (expr); \ if (!b) { \ - GELOGE(_status, "%s", errormsg); \ + GELOGE(_status, "%s", errormsg); \ ErrorManager::GetInstance().ATCReportErrMessage("E10043", {"reason"}, {errormsg}); \ return _status; \ } \