We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 23b6133 + 91dd2e1 commit 2eaaca2Copy full SHA for 2eaaca2
2 files changed
pyproject.toml
@@ -1,6 +1,6 @@
1
[tool.poetry]
2
name = "taskiq"
3
-version = "0.3.1"
+version = "0.3.2"
4
description = "Distributed task queue with full async support"
5
authors = ["Pavel Kirilin <win10@list.ru>"]
6
maintainers = ["Pavel Kirilin <win10@list.ru>"]
taskiq/cli/utils.py
@@ -62,8 +62,9 @@ def import_from_modules(modules: List[str]) -> None:
62
logger.info(f"Importing tasks from module {module}")
63
with add_cwd_in_path():
64
import_module(module)
65
- except ImportError:
66
- logger.warning(f"Cannot import {module}")
+ except ImportError as err:
+ logger.warning(f"Cannot import {module}. Cause:")
67
+ logger.exception(err)
68
69
70
def import_tasks(modules: List[str], pattern: str, fs_discover: bool) -> None:
0 commit comments