Skip to content

Commit 1a4538f

Browse files
committed
Add Exception
1 parent 921d9c9 commit 1a4538f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

servicex/servicex_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def get_codegen(_sample: Sample, _general: General):
151151

152152

153153
def _output_handler(config: ServiceXSpec, requests: List[Query],
154-
results: List[TransformedResults]):
154+
results: List[Union[TransformedResults, Exception]]):
155155
matched_results = zip(requests, results)
156156
if config.General.Delivery == General.DeliveryEnum.SignedURLs:
157157
out_dict = {obj[0].title: GuardList(obj[1].signed_url_list
@@ -195,6 +195,7 @@ def deliver(
195195

196196
elif config.General.Delivery == General.DeliveryEnum.LocalCache:
197197
results = group.as_files(return_exceptions=return_exceptions)
198+
print(results)
198199
return _output_handler(config, datasets, results)
199200

200201

0 commit comments

Comments
 (0)