t-bug-catcher 0.5.0__tar.gz → 0.5.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/PKG-INFO +1 -1
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/setup.cfg +1 -1
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/setup.py +1 -1
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher/__init__.py +1 -1
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher/utils/logger.py +5 -2
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher.egg-info/PKG-INFO +1 -1
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/MANIFEST.in +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/README.rst +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/pyproject.toml +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/requirements.txt +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher/bug_catcher.py +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher/bug_snag.py +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher/config.py +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher/exceptions.py +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher/jira.py +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher/resources/whispers_config.yml +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher/stack_saver.py +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher/utils/__init__.py +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher/utils/common.py +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher/validation.py +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher/workitems.py +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher.egg-info/SOURCES.txt +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher.egg-info/dependency_links.txt +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher.egg-info/not-zip-safe +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher.egg-info/requires.txt +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/t_bug_catcher.egg-info/top_level.txt +0 -0
- {t_bug_catcher-0.5.0 → t_bug_catcher-0.5.1}/tests/test_t_bug_catcher.py +0 -0
|
@@ -26,7 +26,7 @@ setup(
|
|
|
26
26
|
packages=find_packages(include=["t_bug_catcher", "t_bug_catcher.*"]),
|
|
27
27
|
test_suite="tests",
|
|
28
28
|
url="https://www.thoughtful.ai/",
|
|
29
|
-
version="0.5.
|
|
29
|
+
version="0.5.1",
|
|
30
30
|
zip_safe=False,
|
|
31
31
|
install_requires=install_requirements,
|
|
32
32
|
include_package_data=True,
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"""Logger."""
|
|
2
|
+
import logging
|
|
3
|
+
|
|
2
4
|
try:
|
|
3
5
|
from libraries import logger
|
|
4
|
-
except ImportError:
|
|
5
|
-
import logging
|
|
6
6
|
|
|
7
|
+
if not isinstance(logger, logging.Logger):
|
|
8
|
+
raise TypeError("Logger is not an instance of logging.Logger.")
|
|
9
|
+
except (ImportError, TypeError):
|
|
7
10
|
log_format = logging.Formatter(
|
|
8
11
|
r"%(asctime)s - %(levelname)-7s %(threadName)-12s [%(filename)s:%(lineno)s - %(funcName)s()] - %(message)s"
|
|
9
12
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|