starmallow 0.3.2__py3-none-any.whl → 0.3.3__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.
- starmallow/__init__.py +1 -1
- starmallow/applications.py +5 -2
- {starmallow-0.3.2.dist-info → starmallow-0.3.3.dist-info}/METADATA +1 -1
- {starmallow-0.3.2.dist-info → starmallow-0.3.3.dist-info}/RECORD +6 -6
- {starmallow-0.3.2.dist-info → starmallow-0.3.3.dist-info}/WHEEL +0 -0
- {starmallow-0.3.2.dist-info → starmallow-0.3.3.dist-info}/licenses/LICENSE.md +0 -0
starmallow/__init__.py
CHANGED
starmallow/applications.py
CHANGED
@@ -135,10 +135,13 @@ class StarMallow(Starlette):
|
|
135
135
|
] = {}
|
136
136
|
|
137
137
|
for key, value in self.exception_handlers.items():
|
138
|
+
# Ensure we handle any middleware exceptions using the Exception handler
|
139
|
+
# But also ensure we don't fall through all middlewares if the route itself threw an Exception
|
140
|
+
# As this would result in an incredibly long stacktrace
|
138
141
|
if key in (500, Exception):
|
139
142
|
error_handler = value
|
140
|
-
|
141
|
-
|
143
|
+
|
144
|
+
exception_handlers[key] = value
|
142
145
|
|
143
146
|
middleware = (
|
144
147
|
[Middleware(ServerErrorMiddleware, handler=error_handler, debug=debug)]
|
@@ -1,5 +1,5 @@
|
|
1
|
-
starmallow/__init__.py,sha256
|
2
|
-
starmallow/applications.py,sha256=
|
1
|
+
starmallow/__init__.py,sha256=-ln4p19cwSrpztpgmO3aEauXyq2lSCuXvZH4ece_AlA,322
|
2
|
+
starmallow/applications.py,sha256=oZxxLof82QdfK44-q6wUHq9z8_sRGSEVzSQkNvfGKIg,29708
|
3
3
|
starmallow/concurrency.py,sha256=MVRjo4Vqss_yqhaoeVt3xb7rLaSuAq_q9uYgTwbsojE,1375
|
4
4
|
starmallow/constants.py,sha256=u0h8cJKhJY0oIZqzr7wpEZG2bPLrw5FroMnn3d8KBNQ,129
|
5
5
|
starmallow/dataclasses.py,sha256=ap9DInvQjH2AyI4MAAnbDEuNnbPb94PigaNmEb7AQU8,2658
|
@@ -33,7 +33,7 @@ starmallow/security/http.py,sha256=cpGjM1kFDq3i_bOY96kMkf4cspBUxFkkET9lTK3NA-0,6
|
|
33
33
|
starmallow/security/oauth2.py,sha256=1nv1580PY4cwgu5gzpQCf2MfMNv2Cfv05753AUHPOhQ,10005
|
34
34
|
starmallow/security/open_id_connect_url.py,sha256=IPsL2YzWc2mPwJbrUn6oFRTi7uRAG6mR62CGwmzBs1k,1399
|
35
35
|
starmallow/security/utils.py,sha256=bd8T0YM7UQD5ATKucr1bNtAvz_Y3__dVNAv5UebiPvc,293
|
36
|
-
starmallow-0.3.
|
37
|
-
starmallow-0.3.
|
38
|
-
starmallow-0.3.
|
39
|
-
starmallow-0.3.
|
36
|
+
starmallow-0.3.3.dist-info/METADATA,sha256=Xtq-b_MKBANM7Frnbvx1u3CN9P_b4Po2STs_3Jjfitk,5651
|
37
|
+
starmallow-0.3.3.dist-info/WHEEL,sha256=y1bSCq4r5i4nMmpXeUJMqs3ipKvkZObrIXSvJHm1qCI,87
|
38
|
+
starmallow-0.3.3.dist-info/licenses/LICENSE.md,sha256=QelyGgOzch8CXzy6HrYwHh7nmj0rlWkDA0YzmZ3CPaY,1084
|
39
|
+
starmallow-0.3.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|