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.
@@ -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), # The class/type of the exception
39
- message=str(exception), # The exception message as a string
40
- args=exception.args, # The arguments passed to the exception
41
- traceback=getattr(exception, '__traceback__', None) # The traceback object, if available
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:
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.577.0"
8
+ VERSION = "0.579.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.577.0
3
+ Version: 0.579.0
4
4
  Summary: Orionis Framework – Elegant, Fast, and Powerful.
5
5
  Home-page: https://github.com/orionis-framework/framework
6
6
  Author: Raul Mauricio Uñate Castro
@@ -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=arIUtzsING0Yy3-i0Y1ymlQSbpKpoP2AMNdFOynysM0,4836
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=b5DXxqwohagM62oa-IMMxxGBBccenPyaGtF_zG1WwFU,4109
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.577.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
418
- orionis-0.577.0.dist-info/METADATA,sha256=yUOmSxyLQnmL2NEws1fhl-Mf7yPTQckhzxmmhWjqEbg,4801
419
- orionis-0.577.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
420
- orionis-0.577.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
421
- orionis-0.577.0.dist-info/RECORD,,
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,,