1950
func (ms *MutableStateImpl) GetStartEvent(
1951
ctx context.Context,
1953
>
currentBranchToken, err := ms.GetCurrentBranchToken()
1954
>
if err != nil {
1955
return nil, err
1956
}
1958
>
if err != nil {
1959
return nil, err
1960
}
1961
1963
>
ctx,
1964
>
ms.shard.GetShardID(),
1965
>
events.EventKey{
1966
>
NamespaceID: namespace.ID(ms.executionInfo.NamespaceId),
1967
>
WorkflowID: ms.executionInfo.WorkflowId,
1968
>
RunID: ms.executionState.RunId,
1969
>
EventID: common.FirstEventID,
1970
>
Version: startVersion,
1971
>
},
1972
>
common.FirstEventID,
1973
>
currentBranchToken,
1974
>
)
1975
>
if err != nil {
1976
if common.IsNotFoundError(err) {
1977
// do not return the original error