Bug Fix: AttributeError: 'Flask' object has no attribute 'before_first_request'.
Last updated
Last updated
The backend is broken, the frontend is unable to fetch data from the backend.
The backend docker container is down.
The backend docker container log shows that something is wrong with the flask decorator.
The @app.before_first_request
decorator ensures that the init_rollbar()
function is executed before the first request to the application.
Suitable for one-off initialization tasks in Flask
The Flask server is up and running again (the backend container is running!)
The rollbar endpoint /rollbar/test
is working.