commit | 129a8a0644d06faf5fde4d4cea0866874b48c2fb | [log] [tgz] |
---|---|---|
author | Scott Ganyo <scott@ganyo.com> | Thu Mar 16 09:06:41 2017 -0700 |
committer | Scott Ganyo <scott@ganyo.com> | Thu Mar 16 09:06:41 2017 -0700 |
tree | ba43961330092ef933b2f2f56f9a97f555df84bb | |
parent | cd6464047000d91acc9097cc54f2e6eeb8f3be9a [diff] |
Ensure checksum error is logged
diff --git a/bundle.go b/bundle.go index 197aff5..8d03074 100644 --- a/bundle.go +++ b/bundle.go
@@ -183,6 +183,7 @@ checksum := hex.EncodeToString(hashWriter.Sum(nil)) if checksum != expectedHash { err = errors.New(fmt.Sprintf("Bad checksum on %s. calculated: %s, given: %s", tempFileName, checksum, expectedHash)) + log.Error(err.Error()) return }