From 5a03e1d1835382c399f71dec3f333706a859298c Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Thu, 18 May 2017 12:53:35 -0700 Subject: [PATCH] codes: improve app and update status error messages --- omaha/codes.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/omaha/codes.go b/omaha/codes.go index 822f4b1..775b95b 100644 --- a/omaha/codes.go +++ b/omaha/codes.go @@ -160,7 +160,7 @@ const ( // Make AppStatus easy to use as an error func (a AppStatus) Error() string { - return string(a) + return "omaha: app status " + string(a) } type UpdateStatus string @@ -177,5 +177,5 @@ const ( // Make UpdateStatus easy to use as an error func (u UpdateStatus) Error() string { - return string(u) + return "omaha: update status " + string(u) }