Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the logging of quarkus build failures #3149

Closed
phantomjinx opened this issue Mar 29, 2022 · 0 comments
Closed

Improve the logging of quarkus build failures #3149

phantomjinx opened this issue Mar 29, 2022 · 0 comments

Comments

@phantomjinx
Copy link
Contributor

phantomjinx commented Mar 29, 2022

When an integration kit fails to be built, it is often the case that the only error message obtainable is in the status of the integration kit:

status:
  ...
  failure:
    reason: 'failure while building project: exit status 1'
    recovery:
      attempt: 5
      attemptMax: 5
      attemptTime: "2022-03-29T08:59:15Z"
    time: "2022-03-29T08:56:58Z"
  phase: Error
  platform: camel-k

No other error messaging appears evident, either in the integration, the kit or the operator. Would be beneficial to try and capture the output of the quarkus operation and log this in the operator so that the nature of the quarkus errror is more obvious.

phantomjinx added a commit to phantomjinx/camel-k that referenced this issue Mar 29, 2022
* Catches any immediate errors from the command.
phantomjinx added a commit to phantomjinx/camel-k that referenced this issue Mar 30, 2022
* Catches any immediate errors from the command.
phantomjinx added a commit to phantomjinx/camel-k that referenced this issue Apr 11, 2022
* Catches any immediate errors from the command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant