Skip to content

Commit 07d61fc

Browse files
committed
testing json decoder error
1 parent 7b88604 commit 07d61fc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pydra/engine/boutiques.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ def __init__(
7171
bosh_file = self._download_spec(zenodo)
7272

7373
with bosh_file.open() as f:
74-
self.bosh_spec = json.load(f)
74+
try:
75+
self.bosh_spec = json.load(f)
76+
except json.decoder.JSONDecodeError:
77+
print(f.read())
78+
raise
7579

7680
if input_spec is None:
7781
input_spec = self._prepare_input_spec()

0 commit comments

Comments
 (0)