diff --git a/src/utils/validateConfig.ts b/src/utils/validateConfig.ts index d9e2ef6..7781dc4 100644 --- a/src/utils/validateConfig.ts +++ b/src/utils/validateConfig.ts @@ -78,7 +78,7 @@ export function validateQueueIndexEmbedMsgsBelow( export function validateLogExchangeLevel( value: string | undefined ): string | null { - const allowed = ["debug", "info", "warn", "error", "critical", "none"]; + const allowed = ["debug", "info", "warning", "error", "critical", "none"]; if (value === undefined || !allowed.includes(value.toLowerCase())) { return `Log Exchange Level must be one of: ${allowed.join(", ")}.`; } diff --git a/src/utils/validateConfigBackend.ts b/src/utils/validateConfigBackend.ts index 023d334..02d0508 100644 --- a/src/utils/validateConfigBackend.ts +++ b/src/utils/validateConfigBackend.ts @@ -78,7 +78,7 @@ export function validateQueueIndexEmbedMsgsBelow( export function validateLogExchangeLevel( value: string | undefined ): string | null { - const allowed = ["debug", "info", "warn", "error", "critical", "none"]; + const allowed = ["debug", "info", "warning", "error", "critical", "none"]; if (value === undefined || !allowed.includes(value.toLowerCase())) { return `Log Exchange Level must be one of: ${allowed.join(", ")}.`; }