@cryptotaxi247 / kubo / commits / e8b37acda

commands: Simplified Error string output

Matt Bell committed Oct 23, 2014 at 13:25 UTC e8b37acda32466f6bd0b8fb376c337f91400812a
1 file changed +1 -1
commands/response.go
+1 -1
@@ -26,7 +26,7 @@ type Error struct {
26 }
27
28 func (e Error) Error() string {
29 - return fmt.Sprintf("%d error: %s", e.Code, e.Message)
29 + return e.Message
30 }
31
32 // EncodingType defines a supported encoding