Skip to content

Commit 98a8a72

Browse files
committed
add log for validation root sig
1 parent 781c004 commit 98a8a72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/go/0chain.net/blobbercore/handler/file_command_upload.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func (cmd *UploadFileCommand) ProcessContent(ctx context.Context, allocationObj
178178
}
179179
if err != nil || !verify {
180180
logging.Logger.Error("UploadFileCommand.VerifySignature", zap.Error(err))
181-
return result, common.NewError("upload_error", "Failed to verify validation root signature. ")
181+
return result, common.NewError("upload_error", fmt.Sprintf("%s %d", "Failed to verify validation root signature ", cmd.fileChanger.SignatureVersion))
182182
}
183183
}
184184

0 commit comments

Comments
 (0)