diff --git a/source/libs/stream/src/streamCheckpoint.c b/source/libs/stream/src/streamCheckpoint.c index 2fe4b69ad0..e091d0f34b 100644 --- a/source/libs/stream/src/streamCheckpoint.c +++ b/source/libs/stream/src/streamCheckpoint.c @@ -994,7 +994,7 @@ void checkpointTriggerMonitorFn(void* param, void* tmrId) { int32_t size = taosArrayGetSize(pNotSendList); int32_t code = doSendRetrieveTriggerMsg(pTask, pNotSendList); if (code) { - stError("s-task:%s vgId:%d failed to retrieve trigger msg, code:%s", pTask->id.idStr, tstrerror(code)); + stError("s-task:%s vgId:%d failed to retrieve trigger msg, code:%s", pTask->id.idStr, vgId, tstrerror(code)); } streamMutexUnlock(&pActiveInfo->lock);