You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/05/18 07:41:06 UTC

[GitHub] [camel-k] orpiske commented on a change in pull request #2307: Provide more information when the build fails

orpiske commented on a change in pull request #2307:
URL: https://github.com/apache/camel-k/pull/2307#discussion_r634125117



##########
File path: pkg/controller/build/schedule_routine.go
##########
@@ -158,13 +159,16 @@ func (action *scheduleRoutineAction) runBuild(ctx context.Context, build *v1.Bui
 		}
 
 		if lastTask || taskFailed {
+			log.Errorf(nil, "Unable to complete the build: %s", status.Error)

Review comment:
       Yes it is. I forgot to test the happy path *facelpalm* 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org