hexkit 4.1.0__tar.gz → 4.1.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.
- {hexkit-4.1.0/src/hexkit.egg-info → hexkit-4.1.1}/PKG-INFO +1 -1
- {hexkit-4.1.0 → hexkit-4.1.1}/pyproject.toml +1 -1
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/log.py +5 -1
- {hexkit-4.1.0 → hexkit-4.1.1/src/hexkit.egg-info}/PKG-INFO +1 -1
- {hexkit-4.1.0 → hexkit-4.1.1}/LICENSE +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/MANIFEST.in +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/README.md +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/setup.cfg +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/__init__.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/__main__.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/base.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/config.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/correlation.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/custom_types.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/protocols/__init__.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/protocols/dao.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/protocols/daopub.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/protocols/daosub.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/protocols/eventpub.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/protocols/eventsub.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/protocols/objstorage.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/__init__.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/akafka/__init__.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/akafka/config.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/akafka/provider/__init__.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/akafka/provider/daosub.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/akafka/provider/eventpub.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/akafka/provider/eventsub.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/akafka/provider/utils.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/akafka/testcontainer.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/akafka/testutils.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/mongodb/__init__.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/mongodb/provider.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/mongodb/testutils.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/mongokafka/__init__.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/mongokafka/provider.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/mongokafka/testutils.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/s3/__init__.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/s3/provider.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/s3/test_files/__init__.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/s3/test_files/test_file1.yaml +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/s3/test_files/test_file2.yaml +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/s3/test_files/test_file3.yaml +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/s3/test_files/test_file4.yaml +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/s3/testutils/__init__.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/s3/testutils/_fixtures.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/s3/testutils/_typical_workflow.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/s3/testutils/_utils.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/testing/__init__.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/providers/testing/eventpub.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/py.typed +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit/utils.py +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit.egg-info/SOURCES.txt +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit.egg-info/dependency_links.txt +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit.egg-info/requires.txt +0 -0
- {hexkit-4.1.0 → hexkit-4.1.1}/src/hexkit.egg-info/top_level.txt +0 -0
|
@@ -118,13 +118,17 @@ class JsonFormatter(Formatter):
|
|
|
118
118
|
output["details"] = log_record["details"]
|
|
119
119
|
|
|
120
120
|
if log_record["exc_info"]:
|
|
121
|
-
|
|
121
|
+
exc_info = log_record["exc_info"]
|
|
122
|
+
exc_type, exc_value = exc_info[:2]
|
|
122
123
|
exception = {
|
|
123
124
|
"type": exc_type.__name__,
|
|
124
125
|
"message": str(exc_value),
|
|
125
126
|
}
|
|
126
127
|
if self._include_traceback:
|
|
127
128
|
exc_text = log_record["exc_text"]
|
|
129
|
+
if not exc_text:
|
|
130
|
+
# if there is not pre-formatted cached traceback, create it
|
|
131
|
+
exc_text = super().formatException(exc_info)
|
|
128
132
|
if exc_text:
|
|
129
133
|
exception["traceback"] = exc_text
|
|
130
134
|
output["exception"] = exception
|
|
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
|
|
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
|
|
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
|