Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle all requests error in ``ApiBiotoolsMetadataSource._raw_get_met…
…adata`` Fix the following traceback when running `planemo lint` if bio.tools is down: ``` File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/galaxy/tool\_util/biotools/source.py", line 69, in get\_biotools\_metadata return BiotoolsEntry.from\_json(json.loads(content)) ^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/json/**init**.py", line 346, in loads return \_default\_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw\_decode(s, idx=\_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/json/decoder.py", line 355, in raw\_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) ```
- Loading branch information