orionis 0.577.0__py3-none-any.whl → 0.579.0__py3-none-any.whl
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.
- orionis/failure/base/handler.py +5 -5
- orionis/metadata/framework.py +1 -1
- {orionis-0.577.0.dist-info → orionis-0.579.0.dist-info}/METADATA +1 -1
- {orionis-0.577.0.dist-info → orionis-0.579.0.dist-info}/RECORD +7 -7
- {orionis-0.577.0.dist-info → orionis-0.579.0.dist-info}/WHEEL +0 -0
- {orionis-0.577.0.dist-info → orionis-0.579.0.dist-info}/licenses/LICENCE +0 -0
- {orionis-0.577.0.dist-info → orionis-0.579.0.dist-info}/top_level.txt +0 -0
orionis/failure/base/handler.py
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import traceback
|
1
2
|
from typing import Any, List
|
2
3
|
from orionis.console.contracts.cli_request import ICLIRequest
|
3
4
|
from orionis.console.contracts.console import IConsole
|
@@ -33,12 +34,11 @@ class BaseExceptionHandler(IBaseExceptionHandler):
|
|
33
34
|
and wraps them in a `Throwable` object for consistent error handling and reporting.
|
34
35
|
"""
|
35
36
|
|
36
|
-
# Create and return a Throwable object with detailed exception information
|
37
37
|
return Throwable(
|
38
|
-
classtype=type(exception),
|
39
|
-
message=str(exception),
|
40
|
-
args=exception.args,
|
41
|
-
traceback=
|
38
|
+
classtype=type(exception), # The class/type of the exception
|
39
|
+
message=exception.args[0] if exception.args else str(exception), # The exception message as a string
|
40
|
+
args=exception.args, # The arguments passed to the exception
|
41
|
+
traceback=exception.__traceback__ or traceback.format_exc() # The traceback object, if available
|
42
42
|
)
|
43
43
|
|
44
44
|
async def shouldIgnoreException(self, exception: BaseException) -> bool:
|
orionis/metadata/framework.py
CHANGED
@@ -97,7 +97,7 @@ orionis/container/validators/lifetime.py,sha256=IQ43fDNrxYHMlZH2zlYDJnlkLO_eS4U7
|
|
97
97
|
orionis/failure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
98
98
|
orionis/failure/catch.py,sha256=O6C_KsSPI-ZZb8upzwGagkJMhQ6FWX7J2q9BWweMgQE,3286
|
99
99
|
orionis/failure/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
100
|
-
orionis/failure/base/handler.py,sha256=
|
100
|
+
orionis/failure/base/handler.py,sha256=LrYLbg31CwS93bT7MhVEklppGpaUy8ygLxHCwpChVNw,4818
|
101
101
|
orionis/failure/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
102
102
|
orionis/failure/contracts/catch.py,sha256=me7o9QIliD6A62f1nTGjPapbULjhC1ZRh136s1HpF24,1193
|
103
103
|
orionis/failure/contracts/handler.py,sha256=AeJfkJfD3hTkOIYAtADq6GnQfq-qWgDfUc7bYMdYKAU,2240
|
@@ -221,7 +221,7 @@ orionis/foundation/providers/scheduler_provider.py,sha256=1do4B09bU_6xbFHHVYYTGM
|
|
221
221
|
orionis/foundation/providers/testing_provider.py,sha256=SrJRpdvcblx9WvX7x9Y3zc7OQfiTf7la0HAJrm2ESlE,3725
|
222
222
|
orionis/foundation/providers/workers_provider.py,sha256=oa_2NIDH6UxZrtuGkkoo_zEoNIMGgJ46vg5CCgAm7wI,3926
|
223
223
|
orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
224
|
-
orionis/metadata/framework.py,sha256=
|
224
|
+
orionis/metadata/framework.py,sha256=IVW_okPyoU3poXw7KUI0EBCFmrtUMF0ezBR33b_m6U8,4109
|
225
225
|
orionis/metadata/package.py,sha256=k7Yriyp5aUcR-iR8SK2ec_lf0_Cyc-C7JczgXa-I67w,16039
|
226
226
|
orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
227
227
|
orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -414,8 +414,8 @@ orionis/test/validators/workers.py,sha256=rWcdRexINNEmGaO7mnc1MKUxkHKxrTsVuHgbnI
|
|
414
414
|
orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
415
415
|
orionis/test/view/render.py,sha256=f-zNhtKSg9R5Njqujbg2l2amAs2-mRVESneLIkWOZjU,4082
|
416
416
|
orionis/test/view/report.stub,sha256=QLqqCdRoENr3ECiritRB3DO_MOjRQvgBh5jxZ3Hs1r0,28189
|
417
|
-
orionis-0.
|
418
|
-
orionis-0.
|
419
|
-
orionis-0.
|
420
|
-
orionis-0.
|
421
|
-
orionis-0.
|
417
|
+
orionis-0.579.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
|
418
|
+
orionis-0.579.0.dist-info/METADATA,sha256=hmpQw2NRsbFLvcZKyijP9bugK1Pb2Krt7L_cp556s6Q,4801
|
419
|
+
orionis-0.579.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
420
|
+
orionis-0.579.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
|
421
|
+
orionis-0.579.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|