Skip to content

Commit

Permalink
capture requests error
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Jul 25, 2022
1 parent f280975 commit c1dff36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/modules/lint/main_nf.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def check_process_section(self, lines, fix_version, progress_bar):
if fix_version:
try:
fixed = _fix_module_version(self, bioconda_version, last_ver, singularity_tag, response)
except FileNotFoundError as e:
except (FileNotFoundError, requests.exceptions.RequestException) as e:
fixed = False
log.debug(f"Unable to update package {package} due to error: {e}")
else:
Expand Down

0 comments on commit c1dff36

Please sign in to comment.