Skip to content

Commit c960478

Browse files
author
Matthew Fisher
committed
fix(gitreceive): clarify the error message when release failed
1 parent 676665c commit c960478

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/gitreceive/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ func build(
306306
quit <- true
307307
<-quit
308308
if controller.CheckAPICompat(client, err) != nil {
309-
return fmt.Errorf("publishing release (%s)", err)
309+
return fmt.Errorf("The controller returned an error when publishing the release: %s", err)
310310
}
311311

312312
log.Info("Done, %s:v%d deployed to Workflow\n", appName, release)

0 commit comments

Comments
 (0)