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

Capture geometric (or any other external package error) and wrap with QCOPException class #13

Closed
coltonbh opened this issue Nov 29, 2023 · 1 comment
Assignees

Comments

@coltonbh
Copy link
Owner

When geomeTRIC raises an exception (e.g., failed to converge) we get various ChemCloud server errors (same issue Umberto was having). This is because the exception is not caught and raises under the QCOP banner so when the ChemCloud server re-raises the error from celery (result.ready()) the exception class doesn't exist because geometric is not installed on the server so an exception is raised and the server returns a 500.

I need to capture all external package exceptions--like QCEngine exceptions--and wrap them in a QCOP exception class.

@coltonbh
Copy link
Owner Author

Closed by #17

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

No branches or pull requests

1 participant