strawberry-graphql 0.214.0.dev1701082152__py3-none-any.whl → 0.214.0.dev1701368154__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.
- strawberry/schema/execute.py +10 -2
- {strawberry_graphql-0.214.0.dev1701082152.dist-info → strawberry_graphql-0.214.0.dev1701368154.dist-info}/METADATA +1 -1
- {strawberry_graphql-0.214.0.dev1701082152.dist-info → strawberry_graphql-0.214.0.dev1701368154.dist-info}/RECORD +6 -6
- {strawberry_graphql-0.214.0.dev1701082152.dist-info → strawberry_graphql-0.214.0.dev1701368154.dist-info}/LICENSE +0 -0
- {strawberry_graphql-0.214.0.dev1701082152.dist-info → strawberry_graphql-0.214.0.dev1701368154.dist-info}/WHEEL +0 -0
- {strawberry_graphql-0.214.0.dev1701082152.dist-info → strawberry_graphql-0.214.0.dev1701368154.dist-info}/entry_points.txt +0 -0
strawberry/schema/execute.py
CHANGED
@@ -152,7 +152,11 @@ async def execute(
|
|
152
152
|
except (MissingQueryError, InvalidOperationTypeError) as e:
|
153
153
|
raise e
|
154
154
|
except Exception as exc:
|
155
|
-
error =
|
155
|
+
error = (
|
156
|
+
exc
|
157
|
+
if isinstance(exc, GraphQLError)
|
158
|
+
else GraphQLError(str(exc), original_error=exc)
|
159
|
+
)
|
156
160
|
execution_context.errors = [error]
|
157
161
|
process_errors([error], execution_context)
|
158
162
|
return ExecutionResult(
|
@@ -250,7 +254,11 @@ def execute_sync(
|
|
250
254
|
except (MissingQueryError, InvalidOperationTypeError) as e:
|
251
255
|
raise e
|
252
256
|
except Exception as exc:
|
253
|
-
error =
|
257
|
+
error = (
|
258
|
+
exc
|
259
|
+
if isinstance(exc, GraphQLError)
|
260
|
+
else GraphQLError(str(exc), original_error=exc)
|
261
|
+
)
|
254
262
|
execution_context.errors = [error]
|
255
263
|
process_errors([error], execution_context)
|
256
264
|
return ExecutionResult(
|
@@ -181,7 +181,7 @@ strawberry/schema/base.py,sha256=lQBJyzG2ZhKc544oLbXEbpYOPOjaXBop3lxp68h_lfI,297
|
|
181
181
|
strawberry/schema/compat.py,sha256=n0r3UPUcGemMqK8vklgtCkkuCA1p6tWAYbc6Vl4iNOw,1684
|
182
182
|
strawberry/schema/config.py,sha256=N9KsqkSTnm5snizoBZAVneaWQprhaTd8PFyMuR-jfUs,632
|
183
183
|
strawberry/schema/exceptions.py,sha256=_9Ua-lLRCJfbtd8B6MXILNKGI2SwHkcBNkAHYM7ITp8,534
|
184
|
-
strawberry/schema/execute.py,sha256=
|
184
|
+
strawberry/schema/execute.py,sha256=6OE7_5v4G3t_wxp1_mfwu8TTiIkTJNBQaeGCVAljUYw,10982
|
185
185
|
strawberry/schema/name_converter.py,sha256=UdNyd-QtqF2HsDCQK-nsOcLGxDTj4hJwYFNvMtZnpq4,6533
|
186
186
|
strawberry/schema/schema.py,sha256=0FlMPIeMwRo2OEUG9lD-OmMFbnpKDACZgBNaCoTVxok,13187
|
187
187
|
strawberry/schema/schema_converter.py,sha256=pxUgK5VEI2Puc_zk2lwDPknb3rg-SuFOManl4fSDZ9s,35601
|
@@ -236,8 +236,8 @@ strawberry/utils/logging.py,sha256=flS7hV0JiIOEdXcrIjda4WyIWix86cpHHFNJL8gl1y4,7
|
|
236
236
|
strawberry/utils/operation.py,sha256=Um-tBCPl3_bVFN2Ph7o1mnrxfxBes4HFCj6T0x4kZxE,1135
|
237
237
|
strawberry/utils/str_converters.py,sha256=avIgPVLg98vZH9mA2lhzVdyyjqzLsK2NdBw9mJQ02Xk,813
|
238
238
|
strawberry/utils/typing.py,sha256=xkRDUaSJH669jtmdUvWIqrj66Vx4tsbrXSuuYy0FPxU,13490
|
239
|
-
strawberry_graphql-0.214.0.
|
240
|
-
strawberry_graphql-0.214.0.
|
241
|
-
strawberry_graphql-0.214.0.
|
242
|
-
strawberry_graphql-0.214.0.
|
243
|
-
strawberry_graphql-0.214.0.
|
239
|
+
strawberry_graphql-0.214.0.dev1701368154.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
|
240
|
+
strawberry_graphql-0.214.0.dev1701368154.dist-info/METADATA,sha256=2M13vr_scUJrB9Uriw-x0o-PpdQnoVpDrLoPRH7Mytw,7655
|
241
|
+
strawberry_graphql-0.214.0.dev1701368154.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
242
|
+
strawberry_graphql-0.214.0.dev1701368154.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
|
243
|
+
strawberry_graphql-0.214.0.dev1701368154.dist-info/RECORD,,
|
File without changes
|
File without changes
|