Skip to content

Commit 01d0e48

Browse files
author
colinlyguo
committed
add more details in the log
1 parent 5cfb8b6 commit 01d0e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coordinator/internal/logic/provertask/prover_task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func (b *BaseProverTask) hardForkSanityCheck(ctx *gin.Context, taskCtx *proverTa
122122
}
123123

124124
if _, ok := taskCtx.HardForkNames[hardForkName]; !ok {
125-
return "", errors.New("to be assigned prover task's hard-fork name is not the same as prover")
125+
return "", fmt.Errorf("to be assigned prover task's hard-fork name is not the same as prover, proverName: %s, proverVersion: %s, hardForkName: %s", taskCtx.ProverName, taskCtx.ProverVersion, hardForkName)
126126
}
127127
return hardForkName, nil
128128
}

0 commit comments

Comments
 (0)