mirror of
https://github.com/pockethost/pockethost.git
synced 2026-03-18 06:08:52 +00:00
fix(pockethost): health check requires discord channel url
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user