Browse Source

error message add

tags/v1.1.0
wangwenhua1@huawei.com 4 years ago
parent
commit
bd1a9dbf1d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      inc/framework/common/debug/log.h

+ 2
- 2
inc/framework/common/debug/log.h View File

@@ -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; \
} \


Loading…
Cancel
Save