From 13b6feb22f53a102de7284aa4035e61745f60af8 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Tue, 1 Sep 2026 20:48:27 +0200 Subject: [PATCH] chore: Made schedule creation a success log and not an error --- src/util.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util.ts b/src/util.ts index cac52ed..bb0e781 100644 --- a/src/util.ts +++ b/src/util.ts @@ -9,7 +9,7 @@ import { SystemType } from '@/types/common/system-types'; import { TokenType } from '@/types/common/token-types'; import { config, disabledFeatures } from '@/config-manager'; import { PasswordResetToken } from '@/models/password-reset-token'; -import { LOG_ERROR } from '@/logger'; +import { LOG_ERROR, LOG_SUCCESS } from '@/logger'; import type { IncomingHttpHeaders } from 'node:http'; import type { ParsedQs } from 'qs'; import type mongoose from 'mongoose'; @@ -379,5 +379,5 @@ function scheduledTask(schedule: string, name: string, fn: () => void | Promise< start: true }); - LOG_ERROR(`Added schedule ${name} for ${schedule}`); + LOG_SUCCESS(`Added schedule ${name} for ${schedule}`); }