orionis 0.496.0__py3-none-any.whl → 0.497.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 +0 -8
- orionis/failure/catch.py +1 -5
- orionis/metadata/framework.py +1 -1
- {orionis-0.496.0.dist-info → orionis-0.497.0.dist-info}/METADATA +1 -1
- {orionis-0.496.0.dist-info → orionis-0.497.0.dist-info}/RECORD +9 -9
- {orionis-0.496.0.dist-info → orionis-0.497.0.dist-info}/WHEEL +0 -0
- {orionis-0.496.0.dist-info → orionis-0.497.0.dist-info}/licenses/LICENCE +0 -0
- {orionis-0.496.0.dist-info → orionis-0.497.0.dist-info}/top_level.txt +0 -0
- {orionis-0.496.0.dist-info → orionis-0.497.0.dist-info}/zip-safe +0 -0
orionis/failure/base/handler.py
CHANGED
|
@@ -85,10 +85,6 @@ class BaseExceptionHandler(IBaseExceptionHandler):
|
|
|
85
85
|
# Convert the exception into a structured Throwable object
|
|
86
86
|
throwable = self.destructureException(exception)
|
|
87
87
|
|
|
88
|
-
# If the exception type is in the list of exceptions passed to the handler
|
|
89
|
-
if hasattr(self, 'dont_cathc') and throwable.classtype in self.dont_cathc:
|
|
90
|
-
return
|
|
91
|
-
|
|
92
88
|
# Log the exception details
|
|
93
89
|
log.error(f"[{throwable.classtype.__name__}] {throwable.message}")
|
|
94
90
|
|
|
@@ -115,10 +111,6 @@ class BaseExceptionHandler(IBaseExceptionHandler):
|
|
|
115
111
|
# Convert the exception into a structured Throwable object
|
|
116
112
|
throwable = self.destructureException(exception)
|
|
117
113
|
|
|
118
|
-
# If the exception type is in the list of exceptions passed to the handler
|
|
119
|
-
if hasattr(self, 'dont_cathc') and throwable.classtype in self.dont_cathc:
|
|
120
|
-
return
|
|
121
|
-
|
|
122
114
|
# Log the CLI error message with arguments
|
|
123
115
|
log.error(f"CLI Error: {throwable.message} (Args: {args})")
|
|
124
116
|
|
orionis/failure/catch.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import Any
|
|
1
|
+
from typing import Any
|
|
2
2
|
from orionis.console.kernel import KernelCLI
|
|
3
3
|
from orionis.console.output.contracts.console import IConsole
|
|
4
4
|
from orionis.failure.contracts.catch import ICatch
|
|
@@ -8,10 +8,6 @@ from orionis.services.log.contracts.log_service import ILogger
|
|
|
8
8
|
|
|
9
9
|
class Catch(ICatch):
|
|
10
10
|
|
|
11
|
-
# Exceptions that should not be caught by the handler
|
|
12
|
-
dont_cathc: List[type[BaseException]] = [
|
|
13
|
-
#...
|
|
14
|
-
]
|
|
15
11
|
|
|
16
12
|
def __init__(self, app: IApplication) -> None:
|
|
17
13
|
"""
|
orionis/metadata/framework.py
CHANGED
|
@@ -93,9 +93,9 @@ orionis/container/validators/is_subclass.py,sha256=4sBaGLoRs8nUhuWjlP0VJqyTwVHYq
|
|
|
93
93
|
orionis/container/validators/is_valid_alias.py,sha256=4uAYcq8xov7jZbXnpKpjNkxcZtlTNnL5RRctVPMwJes,1424
|
|
94
94
|
orionis/container/validators/lifetime.py,sha256=IQ43fDNrxYHMlZH2zlYDJnlkLO_eS4U7Fs3UJgQBidI,1844
|
|
95
95
|
orionis/failure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
96
|
-
orionis/failure/catch.py,sha256=
|
|
96
|
+
orionis/failure/catch.py,sha256=LCr2Fy7mMwhAILx9VVb0KUZTRPg7UyE_8Ai_hJP0NMQ,3627
|
|
97
97
|
orionis/failure/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
98
|
-
orionis/failure/base/handler.py,sha256=
|
|
98
|
+
orionis/failure/base/handler.py,sha256=c_OymSrlR83rwHrZUuMcoyA_q9hhguNNxY_phaguMPg,4465
|
|
99
99
|
orionis/failure/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
100
100
|
orionis/failure/contracts/catch.py,sha256=e2wM1p6VxbvAjgWm-MwoM9p2ystSsyBu8Qnt6Ehr6Vc,1179
|
|
101
101
|
orionis/failure/contracts/handler.py,sha256=1WyFx7D9h5chNnOXDQhg6o-RqNfhTHblm_xWzCDu4SM,2161
|
|
@@ -217,7 +217,7 @@ orionis/foundation/providers/scheduler_provider.py,sha256=72SoixFog9IOE9Ve9Xcfw6
|
|
|
217
217
|
orionis/foundation/providers/testing_provider.py,sha256=SrJRpdvcblx9WvX7x9Y3zc7OQfiTf7la0HAJrm2ESlE,3725
|
|
218
218
|
orionis/foundation/providers/workers_provider.py,sha256=oa_2NIDH6UxZrtuGkkoo_zEoNIMGgJ46vg5CCgAm7wI,3926
|
|
219
219
|
orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
220
|
-
orionis/metadata/framework.py,sha256=
|
|
220
|
+
orionis/metadata/framework.py,sha256=0h-07j43h9mUWYjM-W5rmknYMud0bGfSYAJUibiQH0o,4109
|
|
221
221
|
orionis/metadata/package.py,sha256=k7Yriyp5aUcR-iR8SK2ec_lf0_Cyc-C7JczgXa-I67w,16039
|
|
222
222
|
orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
223
223
|
orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -391,7 +391,7 @@ orionis/test/validators/web_report.py,sha256=n9BfzOZz6aEiNTypXcwuWbFRG0OdHNSmCNu
|
|
|
391
391
|
orionis/test/validators/workers.py,sha256=rWcdRexINNEmGaO7mnc1MKUxkHKxrTsVuHgbnIfJYgc,1206
|
|
392
392
|
orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
393
393
|
orionis/test/view/render.py,sha256=f-zNhtKSg9R5Njqujbg2l2amAs2-mRVESneLIkWOZjU,4082
|
|
394
|
-
orionis-0.
|
|
394
|
+
orionis-0.497.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
|
|
395
395
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
396
396
|
tests/container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
397
397
|
tests/container/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -538,8 +538,8 @@ tests/testing/validators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
538
538
|
tests/testing/validators/test_testing_validators.py,sha256=WPo5GxTP6xE-Dw3X1vZoqOMpb6HhokjNSbgDsDRDvy4,16588
|
|
539
539
|
tests/testing/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
540
540
|
tests/testing/view/test_render.py,sha256=tnnMBwS0iKUIbogLvu-7Rii50G6Koddp3XT4wgdFEYM,1050
|
|
541
|
-
orionis-0.
|
|
542
|
-
orionis-0.
|
|
543
|
-
orionis-0.
|
|
544
|
-
orionis-0.
|
|
545
|
-
orionis-0.
|
|
541
|
+
orionis-0.497.0.dist-info/METADATA,sha256=peE-acpasxNqsneyMNyz8ArpeeZcAXIJNpS0OrdDzNI,4801
|
|
542
|
+
orionis-0.497.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
543
|
+
orionis-0.497.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
|
|
544
|
+
orionis-0.497.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
545
|
+
orionis-0.497.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|