| Index: scripts/slave/recipe_modules/swarming/api.py
|
| diff --git a/scripts/slave/recipe_modules/swarming/api.py b/scripts/slave/recipe_modules/swarming/api.py
|
| index 30a173befc04396573e4c33e4bb3b069d1282be1..562afcbafdb4a86eb15984348f614250cb7649be 100644
|
| --- a/scripts/slave/recipe_modules/swarming/api.py
|
| +++ b/scripts/slave/recipe_modules/swarming/api.py
|
| @@ -743,7 +743,10 @@ class SwarmingApi(recipe_api.RecipeApi):
|
| if path not in step_result.raw_io.output_dir:
|
| raise Exception('no results from shard #%d' % i)
|
| results_raw = step_result.raw_io.output_dir[path]
|
| - results_json = self.m.json.loads(results_raw)
|
| + try:
|
| + results_json = self.m.json.loads(results_raw)
|
| + except Exception as e:
|
| + raise Exception('error decoding JSON results from shard #%d' % i)
|
| for key in merged_results:
|
| if key in results_json:
|
| if isinstance(merged_results[key], list):
|
|
|