Skip to content

Commit 2eaaca2

Browse files
committed
Merge branch 'release/0.3.2'
2 parents 23b6133 + 91dd2e1 commit 2eaaca2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "taskiq"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
description = "Distributed task queue with full async support"
55
authors = ["Pavel Kirilin <[email protected]>"]
66
maintainers = ["Pavel Kirilin <[email protected]>"]

taskiq/cli/utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ def import_from_modules(modules: List[str]) -> None:
6262
logger.info(f"Importing tasks from module {module}")
6363
with add_cwd_in_path():
6464
import_module(module)
65-
except ImportError:
66-
logger.warning(f"Cannot import {module}")
65+
except ImportError as err:
66+
logger.warning(f"Cannot import {module}. Cause:")
67+
logger.exception(err)
6768

6869

6970
def import_tasks(modules: List[str], pattern: str, fs_discover: bool) -> None:

0 commit comments

Comments
 (0)