From 335f6416b97dbf7f4f6cbd0f773a126ecf19a766 Mon Sep 17 00:00:00 2001 From: mpl Date: Tue, 4 Mar 2014 18:53:05 +0100 Subject: [PATCH] buildbot: add some context to error Change-Id: Ia0733909ffd4d9e9451ac663cb7ece799169ab7c --- misc/buildbot/builder/builder.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/misc/buildbot/builder/builder.go b/misc/buildbot/builder/builder.go index a18a88c48..ba5f3d122 100644 --- a/misc/buildbot/builder/builder.go +++ b/misc/buildbot/builder/builder.go @@ -835,7 +835,10 @@ func killCamli() { } func hitCamliUi() error { - return hitURL("http://localhost:3179/ui/") + if err := hitURL("http://localhost:3179/ui/"); err != nil { + return fmt.Errorf("could not reach camlistored UI page (dead server?): %v", err) + } + return nil } func hitURL(url string) (err error) {