handle except

This commit is contained in:
yihaoDeng 2022-03-24 15:53:01 +08:00
parent 85a1bd1cc9
commit c643c48287
1 changed files with 3 additions and 0 deletions

View File

@ -280,6 +280,9 @@ void* transCtxDumpVal(STransCtx* ctx, int32_t key) {
}
void* transCtxDumpBrokenlinkVal(STransCtx* ctx, int32_t* msgType) {
void *ret = NULL;
if (ctx->brokenVal.clone == NULL) {
return ret;
}
(*ctx->brokenVal.clone)(ctx->brokenVal.val, &ret);
*msgType = ctx->brokenVal.msgType;