-
Notifications
You must be signed in to change notification settings - Fork 17
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
Getting processing errors #10
Comments
Yep, the stdout and stderr of the process is attached to the exception thrown. You can do something similar to this to print them out: try:
mroctx2isis(from_=fname, to=cub_name)
except ProcessError as error:
print(error.stdout)
print(error.stderr) |
Thanks! |
Should I add this to the readme maybe? |
Yeah, that would be really nice to have in the readme. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to get the original error message from a ProcessError?
So far I only get this:
Would be good if the causing problem could be caught in Python somehow. In this case it was:
The text was updated successfully, but these errors were encountered: