Skip to content

Commit

Permalink
Merge pull request Deep-MI#519 from Deep-MI/dkuegler-patch-1-2
Browse files Browse the repository at this point in the history
Update checkpoint.py
  • Loading branch information
m-reuter authored May 7, 2024
2 parents be9771c + 2b2b75a commit 92e6653
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FastSurferCNN/utils/checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,10 @@ def download_checkpoint(

except requests.exceptions.HTTPError as e:
LOGGER.info(f"Server {url} not reachable.")
LOGGER.exception(e)
LOGGER.warn(f"Response code: {e.response.status_code}")
except requests.exceptions.RequestException as e:
LOGGER.exception(e)
LOGGER.warn(f"Server {url} not reachable.")

if response is None:
Expand Down

0 comments on commit 92e6653

Please sign in to comment.