thadeusb / flask-cache

Cache extension for Flask
http://packages.python.org/Flask-Cache/
Other
700 stars 185 forks source link

Add option to fail silently, even when the Flask app is in debug mode. #155

Open nfvs opened 8 years ago

nfvs commented 8 years ago

Right now when the app is in debug mode, backend exceptions get re-raised; this change adds the possibility to override this by using the setting CACHE_IGNORE_BACKEND_ERRORS. This defaults to the inverse of app.debug, to maintain current functionality.