]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cypherpunks.ru/nncp/humanizer.go
Visible message about bad chunk's checksum
[nncp.git] / src / cypherpunks.ru / nncp / humanizer.go
index 546b71fea60ee8e49e49f67da764aaad7fa17571..49b715a1c91f6c7c118196b0bf7e948c0aac4a02 100644 (file)
@@ -234,6 +234,9 @@ func (ctx *Ctx) Humanize(s string) string {
                                rem,
                        )
                }
+               if err, exists := sds["err"]; exists {
+                       msg += ": " + err
+               }
        default:
                return s
        }