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:
Joel Bradshaw 2022-02-01 21:54:51 -08:00
parent d6abd9b32d
commit 060f515aea

View file

@ -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):