1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-03 13:00:37 +08:00

commands: Simplified Error string output

This commit is contained in:
Matt Bell
2014-10-23 13:25:36 -07:00
committed by Juan Batiz-Benet
parent 3cebd2176e
commit e8b37acda3

View File

@ -26,7 +26,7 @@ type Error struct {
}
func (e Error) Error() string {
return fmt.Sprintf("%d error: %s", e.Code, e.Message)
return e.Message
}
// EncodingType defines a supported encoding