I’ve started seeing this error:
AssertionError('App must be running before you can run middleware!')
This happens within seconds after the server is re-deployed, and happens for a few seconds only. It’s not a big issue as it goes away after the app is running, but I would’ve preferred if it does what it’s always done before, which is to simply return a 503 before the server has completely started.
What is causing this?
My sanic version: