Commit 46f1d976 authored by renezurbruegg's avatar renezurbruegg Committed by Mayank Mittal

Adds raising of errors when importing orbit_tasks package

This MR adds raising of import errors in the `omni.isaac.orbit_tasks` package. Previously,
these were getting caught and ignored which made debugging difficult.

- Bug fix (non-breaking change which fixes an issue)

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./orbit.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------
Co-authored-by: 's avatarMayank Mittal <mittalma@leggedrobotics.com>
parent 4a6bd7d7
[package]
# Note: Semantic Versioning is used: https://semver.org/
version = "0.5.2"
version = "0.5.3"
# Description
title = "ORBIT Environments"
......
Changelog
---------
0.5.3 (2023-11-16)
~~~~~~~~~~~~~~~~~~
Fixed
^^^^^
* Added raising of error in the :meth:`omni.isaac.orbit_tasks.utils.importer.import_all` method to make sure
all the packages are imported properly. Previously, error was being caught and ignored.
0.5.2 (2023-11-08)
~~~~~~~~~~~~~~~~~~
......
......@@ -75,9 +75,6 @@ def _walk_packages(
if info.ispkg:
try:
__import__(info.name)
except ImportError:
if onerror is not None:
onerror(info.name)
except Exception:
if onerror is not None:
onerror(info.name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment