modify error log

pull/1248/head
wangxiaotian22 4 years ago
parent 82b32210e2
commit c211d1bd36

File diff suppressed because it is too large Load Diff

@ -255,10 +255,10 @@
exec_expr1; \
}
#define GE_ERRORLOG_AND_ERRORMSG(_status, errormsg) \
{ \
GELOGE(_status, "%s", errormsg); \
ErrorManager::GetInstance().ATCReportErrMessage("E19021", {"reason"}, {errormsg}); \
#define GE_ERRORLOG_AND_ERRORMSG(_status, errormsg) \
{ \
GELOGE(_status, "[Check][InnerData]%s", errormsg); \
REPORT_INNER_ERROR("E19999", "%s", errormsg); \
}
#define GE_WARNINGLOG_AND_ERRORMSG(errormsg) \

@ -113,12 +113,12 @@
} while (0)
// Check if the parameter is null. If yes, return PARAM_INVALID and record the error
#define GE_CHECK_NOTNULL(val) \
do { \
if (val == nullptr) { \
DOMI_LOGE("param[%s] must not be null.", #val); \
return ge::PARAM_INVALID; \
} \
#define GE_CHECK_NOTNULL(val) \
do { \
if (val == nullptr) { \
DOMI_LOGE("[Check][Param:%s]null is invalid when %s.", #val, __FUNCTION__); \
return ge::PARAM_INVALID; \
} \
} while (0)
// Check if the parameter is null. If yes, just return and record the error

@ -1 +1 @@
Subproject commit deebd59d7ea015d7907db525596213492fe021b0
Subproject commit eef990b3d8669065a969dfa6b1097eac09d601d4

@ -1 +1 @@
Subproject commit eb4d9f3aa4cd0b567e3af6149e48ca2b15a3339e
Subproject commit 34464de38871aa46b0c7043798f96d340684a8cf
Loading…
Cancel
Save