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

Enhance KnownPublishError visualisation #348

Closed
2 tasks done
MustafaJafar opened this issue Apr 2, 2024 · 0 comments · Fixed by #861
Closed
2 tasks done

Enhance KnownPublishError visualisation #348

MustafaJafar opened this issue Apr 2, 2024 · 0 comments · Fixed by #861
Labels
type: enhancement Improvement of existing functionality or minor addition

Comments

@MustafaJafar
Copy link
Contributor

MustafaJafar commented Apr 2, 2024

Is there an existing issue for this?

  • I have searched the existing issues.

Please describe the feature you have in mind and explain what the current shortcomings are?

Enhance KnownPublishError to support changing the error label and message.

Current State My suggestion

How would you imagine the implementation of the feature?

I made a draft PR for it #373 to experiment the idea where I was able to reproduce the screenshots above.

Are there any labels you wish to add?

  • I have added the relevant labels to the enhancement request.

Describe alternatives you've considered:

Adding a Generic PublishError that works in a similar fashion to PublishValidationError which is a better user friendly way to raise and show errors from pyblish plugins like extractors or even from lib.py files.

It would like this (I hacked the code to be able to produce this screenshot)
In screenshot my code failed during extraction.
image

Additional context:

No response

@MustafaJafar MustafaJafar added the type: enhancement Improvement of existing functionality or minor addition label Apr 2, 2024
@MustafaJafar MustafaJafar linked a pull request Apr 4, 2024 that will close this issue
@MustafaJafar MustafaJafar changed the title User Friendly Error Reporting Enhance KnownPublishError visualisation Jul 16, 2024
@MustafaJafar MustafaJafar linked a pull request Sep 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Improvement of existing functionality or minor addition
Projects
None yet
1 participant