Be even more conservative on errors
This runs at startup of anything, so we should be extra sure to not break anything, and lots of things can go wrong downloading files from the internet
This commit is contained in:
@ -22,6 +22,8 @@ def download_file(url, destination):
|
||||
logger.error("Failed to download file %s", url)
|
||||
except OSError:
|
||||
logger.error("Couldn't open font file %s for writing", destination)
|
||||
except: # pylint: disable=bare-except
|
||||
logger.exception("Unknown error in file download")
|
||||
|
||||
|
||||
class BookwyrmConfig(AppConfig):
|
||||
|
Reference in New Issue
Block a user