Skip to content

Commit

Permalink
Merge pull request #45 from willstott101/patch-3
Browse files Browse the repository at this point in the history
Don't completely hide the download exception
  • Loading branch information
xinjli authored Oct 14, 2021
2 parents 7a55dc9 + c4776e2 commit d9f1ada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions allosaurus/bin/download_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def download_model(model_name=None, alt_model_path=None):
files = tarfile.open(fileobj=compressed_files)
files.extractall(str(model_dir))

except:
print("Error: could not download the model")
except Exception as e:
print("Error: could not download the model", e)
(model_dir / model_name).rmdir()


Expand Down

0 comments on commit d9f1ada

Please sign in to comment.