Change message "not master" to something more meaningful
Sorry if this is the wrong category but I assume that the nodejs component that is trying to write to MongoDB/Atlas is doing so via the Data API.
Once in a while, in association with an attempted insert, I see the error message "not master", which is not giving me a clue about what's really happening. When I look through my logs, I see this message periodically in batches that occur within a few seconds. I had to reach out to support to find out what was happening. It turns out, it's just the server applying a software update.
Is there a way to indicate that this is a temporary problem that will resolve itself? Perhaps something like, "master is rebooting due to software update"?