I added something like this to NDK where if you publish something and it’s not successfully published to a relay it lets the developer know so they can handle it, but I should add a possibility to configure re-attempting to publish if they’ve connected a cache.
This is a really good idea
nostr:npub1tfzcrk7ly9u6e38rhl2rrm06vsgl793r9m8zf3kz78wq5qx0nnvqfqy0wj