mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
fix(pockethost): health check requires discord channel url
This commit is contained in:
parent
4e138cf276
commit
1c2f35f222
@ -16,6 +16,9 @@ export const checkHealth = async () => {
|
||||
const { cpu, drive } = osu
|
||||
|
||||
const DISCORD_URL = DISCORD_HEALTH_CHANNEL_URL()
|
||||
if (!DISCORD_URL) {
|
||||
throw new Error('DISCORD_HEALTH_CHANNEL_URL not set')
|
||||
}
|
||||
|
||||
const { dbg, error, info, warn } = LoggerService().create('edge-health.ts')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user