ayon-core icon indicating copy to clipboard operation
ayon-core copied to clipboard

Publisher: handling of exceptions on publish

Open antirotor opened this issue 4 months ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues.

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

Whenever you hit publish or validate buttons and something happens in underlaying host code (some exception happens) , there might not be any feedback at all, except the fact that the publishing never started.

How would you imagine the implementation of the feature?

We should probably catch exception somewhere here:

https://github.com/ynput/ayon-core/blob/d759c9b41ad1a4efb4195f0ac9f29b93d279c2a9/client/ayon_core/tools/publisher/window.py#L824-L846

and perhaps display the exception itself using QtWidgets.QMessageBox.critical() or similar.

Are there any labels you wish to add?

  • [X] I have added the relevant labels to the enhancement request.

Describe alternatives you've considered:

No response

Additional context:

No response

antirotor avatar Oct 10 '24 14:10 antirotor