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

fix: brief only when __str__ for errors #929

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sergiusens
Copy link
Collaborator

This plays better with Craft CLIs current design as seen in
https://github.com/canonical/craft-cli/blob/main/craft_cli/messages.py#L733

  • Have you signed the CLA?

This plays better with Craft CLIs current design.

Signed-off-by: Sergio Schvezov <[email protected]>
@sergiusens sergiusens requested review from tigarmo and mr-cal December 9, 2024 12:56
components.append(self.resolution)

return "\n".join(components)
return self.brief
Copy link
Contributor

Choose a reason for hiding this comment

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

I still don't understand how this error is ending up in craft-cli?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I linked to it

@mr-cal mr-cal requested a review from tigarmo January 15, 2025 15:25
@tigarmo
Copy link
Contributor

tigarmo commented Jan 15, 2025

I'm pretty sure this PR is obsolete
@sergiusens ?

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

Successfully merging this pull request may close these issues.

2 participants