t-bug-catcher 0.4.3__tar.gz → 0.4.4__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.4.3 → t_bug_catcher-0.4.4}/PKG-INFO +1 -1
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/setup.cfg +1 -1
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/setup.py +1 -1
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher/__init__.py +1 -1
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher/bug_catcher.py +8 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher.egg-info/PKG-INFO +1 -1
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/MANIFEST.in +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/README.rst +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/pyproject.toml +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/requirements.txt +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher/bug_snag.py +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher/config.py +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher/exceptions.py +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher/jira.py +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher/resources/whispers_config.yml +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher/stack_saver.py +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher/utils/__init__.py +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher/utils/common.py +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher/utils/logger.py +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher/workitems.py +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher.egg-info/SOURCES.txt +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher.egg-info/dependency_links.txt +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher.egg-info/not-zip-safe +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher.egg-info/requires.txt +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/t_bug_catcher.egg-info/top_level.txt +0 -0
- {t_bug_catcher-0.4.3 → t_bug_catcher-0.4.4}/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.4.
|
|
29
|
+
version="0.4.4",
|
|
30
30
|
zip_safe=False,
|
|
31
31
|
install_requires=install_requirements,
|
|
32
32
|
include_package_data=True,
|
|
@@ -128,6 +128,14 @@ class BugCatcher:
|
|
|
128
128
|
if not exception:
|
|
129
129
|
_, exception, _ = sys.exc_info()
|
|
130
130
|
|
|
131
|
+
if not isinstance(exception, Exception):
|
|
132
|
+
logger.warning("Exception must be an instance of Exception.")
|
|
133
|
+
return
|
|
134
|
+
|
|
135
|
+
if not getattr(exception, "__traceback__", None):
|
|
136
|
+
logger.warning("No traceback available. Please provide a traceback.")
|
|
137
|
+
return
|
|
138
|
+
|
|
131
139
|
handled_error = getattr(exception, "handled_error", None)
|
|
132
140
|
if handled_error:
|
|
133
141
|
logger.warning(f"Exception {handled_error} already reported.")
|
|
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
|