From a772ef963bbe9eb87ecd03cb933ab1f756e55d82 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Fri, 29 May 2015 01:12:56 -0700 Subject: [PATCH] Remove Reason: prefix for error prints --- print-structs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/print-structs.go b/print-structs.go index 8a3bc42d..a1463f82 100644 --- a/print-structs.go +++ b/print-structs.go @@ -33,10 +33,10 @@ func (e ErrorMessage) String() string { if e.Error != nil { switch e.Error.(type) { case iodine.Error: - reason := "Reason: " + iodine.ToError(e.Error).Error() + reason := iodine.ToError(e.Error).Error() message = e.Message + ", " + reason default: - reason := "Reason: " + e.Error.Error() + reason := e.Error.Error() message = e.Message + ", " + reason } }