Adding a crashing endpoint to our services could help us make that the service monitoring (logging and graph of 5XX responses) and error reporting (Sentry, slack notifs) is configured correctly.
@app.route("/__crash__")
def crash():
logger.error("about to boom")
raise ValueError("boom")