ErisPulse 2.1.7__py3-none-any.whl → 2.1.7.post1__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.
- ErisPulse/Core/raiserr.py +7 -2
- {erispulse-2.1.7.dist-info → erispulse-2.1.7.post1.dist-info}/METADATA +1 -1
- {erispulse-2.1.7.dist-info → erispulse-2.1.7.post1.dist-info}/RECORD +6 -6
- {erispulse-2.1.7.dist-info → erispulse-2.1.7.post1.dist-info}/WHEEL +0 -0
- {erispulse-2.1.7.dist-info → erispulse-2.1.7.post1.dist-info}/entry_points.txt +0 -0
- {erispulse-2.1.7.dist-info → erispulse-2.1.7.post1.dist-info}/licenses/LICENSE +0 -0
ErisPulse/Core/raiserr.py
CHANGED
|
@@ -137,7 +137,10 @@ def global_exception_handler(exc_type: Type[Exception], exc_value: Exception, ex
|
|
|
137
137
|
else:
|
|
138
138
|
colored_traceback.append(f"{RED}{line}{RESET}")
|
|
139
139
|
|
|
140
|
-
full_error = f"
|
|
140
|
+
full_error = f"""
|
|
141
|
+
{error_title}
|
|
142
|
+
{RED}Traceback:{RESET}
|
|
143
|
+
{colored_traceback}"""
|
|
141
144
|
|
|
142
145
|
sys.stderr.write(full_error)
|
|
143
146
|
|
|
@@ -166,7 +169,9 @@ def async_exception_handler(loop: asyncio.AbstractEventLoop, context: Dict[str,
|
|
|
166
169
|
else:
|
|
167
170
|
colored_tb.append(f"{RED}{line}{RESET}")
|
|
168
171
|
|
|
169
|
-
error_msg = f"{RED}{type(exception).__name__}{RESET}: {YELLOW}{exception}{RESET}
|
|
172
|
+
error_msg = f"""{RED}{type(exception).__name__}{RESET}: {YELLOW}{exception}{RESET}
|
|
173
|
+
{RED}Traceback:{RESET}
|
|
174
|
+
{colored_tb}"""
|
|
170
175
|
sys.stderr.write(error_msg)
|
|
171
176
|
else:
|
|
172
177
|
msg = context.get('message', 'Unknown async error')
|
|
@@ -5,11 +5,11 @@ ErisPulse/Core/adapter.py,sha256=lw5T336EsNtjUgSPdevcOZReZNkA8oYvvTRCHk_fo_o,181
|
|
|
5
5
|
ErisPulse/Core/env.py,sha256=D2BwtSbKggbeAsOzwwVv-kd5UkVmYlDUHtgLzFZqKUI,19841
|
|
6
6
|
ErisPulse/Core/logger.py,sha256=VYhWKPXn88ib7S_OKCr_MibdnMH8k5sHkwLtNDZP3QM,7034
|
|
7
7
|
ErisPulse/Core/mods.py,sha256=2yIq8t9Ca9CBPRiZU0yr8Lc0XGmmkB7LlH-5FWqXjw4,7023
|
|
8
|
-
ErisPulse/Core/raiserr.py,sha256=
|
|
8
|
+
ErisPulse/Core/raiserr.py,sha256=vlyaaiOIYkyqm9dAqSW9E54JBzX-9roHDp5_r6I0yUU,5591
|
|
9
9
|
ErisPulse/Core/server.py,sha256=FkDTeLuHD5IBnWVxvYU8pHb6yCt8GzyvC1bpOiJ7G7I,9217
|
|
10
10
|
ErisPulse/Core/util.py,sha256=7rdMmn6sBFqYd4znxBCcJjuv2eyTExdeKyZopgds868,3796
|
|
11
|
-
erispulse-2.1.7.dist-info/METADATA,sha256=
|
|
12
|
-
erispulse-2.1.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
13
|
-
erispulse-2.1.7.dist-info/entry_points.txt,sha256=Jss71M6nEha0TA-DyVZugPYdcL14s9QpiOeIlgWxzOc,182
|
|
14
|
-
erispulse-2.1.7.dist-info/licenses/LICENSE,sha256=4jyqikiB0G0n06CEEMMTzTXjE4IShghSlB74skMSPQs,1464
|
|
15
|
-
erispulse-2.1.7.dist-info/RECORD,,
|
|
11
|
+
erispulse-2.1.7.post1.dist-info/METADATA,sha256=hGo9d1vO8_GNViOyuE_ZaKEX9MvfVrIN6vNqKQwgQX8,6264
|
|
12
|
+
erispulse-2.1.7.post1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
13
|
+
erispulse-2.1.7.post1.dist-info/entry_points.txt,sha256=Jss71M6nEha0TA-DyVZugPYdcL14s9QpiOeIlgWxzOc,182
|
|
14
|
+
erispulse-2.1.7.post1.dist-info/licenses/LICENSE,sha256=4jyqikiB0G0n06CEEMMTzTXjE4IShghSlB74skMSPQs,1464
|
|
15
|
+
erispulse-2.1.7.post1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|