buildbot: add some context to error

Change-Id: Ia0733909ffd4d9e9451ac663cb7ece799169ab7c
This commit is contained in:
mpl 2014-03-04 18:53:05 +01:00
parent e3491e5515
commit 335f6416b9
1 changed files with 4 additions and 1 deletions

View File

@ -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) {