diff --git a/CHANGELOG.md b/CHANGELOG.md index e4dc7a665..982fa3bd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [UNRELEASED] +### Fixed + +- Ignoring all errors when importing qelectrons instead of only `ImportError` + ## [0.235.0-rc.0] - 2024-05-29 ### Authors diff --git a/covalent/__init__.py b/covalent/__init__.py index 0cfc7bbe7..d644a57d6 100644 --- a/covalent/__init__.py +++ b/covalent/__init__.py @@ -51,7 +51,8 @@ from ._workflow.electron import wait # nopycln: import from .executor.utils import get_context # nopycln: import -with contextlib.suppress(ImportError): +with contextlib.suppress(Exception): + # try to load qelectron modules from ._workflow.qelectron import qelectron # nopycln: import from .quantum import QCluster # nopycln: import