56
payloadSize int,
57
message string,
59
>
60
>
executionInfo := c.mutableState.GetExecutionInfo()
61
>
executionState := c.mutableState.GetExecutionState()
62
>
err := common.CheckEventBlobSizeLimit(
63
>
payloadSize,
64
>
c.blobSizeLimitWarn,
65
>
c.blobSizeLimitError,
66
>
executionInfo.NamespaceId,
67
>
executionInfo.WorkflowId,
68
>
executionState.RunId,
69
>
c.metricsHandler.WithTags(commandTypeTag),
70
>
c.logger,
71
>
commandTypeTag.Value,
72
>
)
73
>
if err != nil {
74
return fmt.Errorf("%s", message) // nolint:err113
75
}