diff --git a/src/config/logs.ts b/src/config/logs.ts index 4f0106e55..dc568de7e 100644 --- a/src/config/logs.ts +++ b/src/config/logs.ts @@ -37,7 +37,7 @@ const setLogs = (message: any, type: string) => { stream ); - let logMessage = message; + let logMessage; if (typeof message === 'object') { logMessage = JSON.stringify(message); }