Skip to content

Commit

Permalink
fix: log of CalculateCheckSum func (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
s4s7 authored Feb 16, 2024
1 parent b5b851a commit 3d87f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/util/random.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
func CalculateCheckSum(filePath string) (string, error) {
file, err := ioutil.ReadFile(filePath)
if err != nil {
return "", fmt.Errorf("failed read file. filename: %s, err: %w", filePath)
return "", fmt.Errorf("failed read file. filename: %s, err: %w", filePath, err)
}

hash := md5.Sum(file)
Expand Down

0 comments on commit 3d87f02

Please sign in to comment.