Best way to report an error during resolve for packages with detached payloads? #1291
Unanswered
herronelou
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
For our DCCs, I'm making packages that are doing little except adding paths to PATH and PYTHONPATH.
There is no payload with the package, as the software is meant to be installed locally.
I'd like to report a useful error message when someone without the required local paths is attempting to load the package.
I can raise a python error in the commands, which then gets handled by rez and re-raised as a PackageCommandError.
Is this the best way to go about it?
Beta Was this translation helpful? Give feedback.
All reactions