chore: dont log proof, too large

This commit is contained in:
Derrick Hammer 2024-02-18 02:29:33 -05:00
parent 938b6cdf9e
commit 0e61a5c1fa
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ func (t *TusHandler) uploadTask(hash []byte) error {
}
if !bytes.Equal(proof.Hash, upload.Hash) {
t.logger.Error("Hashes do not match", zap.Any("upload", upload), zap.Any("proof", proof), zap.Any("dbHash", hex.EncodeToString(upload.Hash)))
t.logger.Error("Hashes do not match", zap.Any("upload", upload), zap.Any("dbHash", hex.EncodeToString(upload.Hash)))
return err
}