Open leovander opened 4 months ago
🤦♂️ Apprise is only a python project... Going to setup default error notification to telegram and maybe look at doing a pushover call.
I started adding in an API call to https://pushover.net/api as a backup but I think I am dealing with a circular dependency where adding this call is pulling in a resource before it is ready.
Leaving the placeholder in src/lib/utilities#sendAdminError
for when ready to revisit this. If container completely dies I will currently get kuma notifications.
I did have a block to message all admins, but that is mostly what throws off the dependencies when I attempt to fetch admins from cache.
Either send direct messages via Telegram to configured admins or take a look at implementing Apprise.
Specifically, https://github.com/caronc/apprise?tab=readme-ov-file#developer-api-usage in order to allow other bot users to send notifications outside of telegram and discord to get error messages.