I am deploying my Python app to the web and use Cloud Run from Google for that.
Everything works so far but the `errorhandler` does not.

I use `flask limiter` to limit the requests of a route. By the following code i render a template called `429.html` which should show up for the `429-error`. On my local machine it does actually, on Cloud run I get the basic `flask limiter` page returned.
[error page](https://i.stack.imgur.com/9ljez.png)

My code for the `errorhandler` is the following:

```
@app.errorhandler(429)
def page_not_found(e):
    # note that we set the 404 status explicitly
    db = onpage_functions.get_stats()
    return render_template('static/429.html', db=db), 429

```