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

Log error when project cannot be created #36057

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

metacosm
Copy link
Contributor

No description provided.

@quarkus-bot
Copy link

quarkus-bot bot commented Sep 21, 2023

✔️ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

@@ -139,6 +143,7 @@ public static Optional<Project> createProject(ApplicationInfoBuildItem app,
buildInfo, project.getScmInfo()));

} catch (Exception e) {
LOG.debugv(e, "Couldn't create project for {0} application", name);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be debug or does it have value for the user?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I debated using info level… the problem is that the exception you usually get is not really actionable as-is since you get exceptions like the one seen in #36041. Maybe if dekorate was returning more informative exceptions, it would make more sense to use an info level here.

@gsmet
Copy link
Member

gsmet commented Oct 5, 2023

I will let @iocanel have the final say on this as some changes might be needed in Dekorate.

@gsmet gsmet requested a review from iocanel October 5, 2023 14:58
Copy link
Contributor

@iocanel iocanel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iocanel iocanel merged commit 89a0142 into quarkusio:main Oct 10, 2023
21 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.5 - main milestone Oct 10, 2023
@metacosm metacosm deleted the debug-project branch October 10, 2023 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants