n8n/packages/core/test/utils.ts
कारतोफ्फेलस्क्रिप्ट™ e79679c023
fix(HTTP Request Node): Show detailed error message in the UI again (#5959)
2023-04-12 14:58:05 +02:00

15 lines
264 B
TypeScript

import { ILogger, LoggerProxy } from 'n8n-workflow';
const fakeLogger = {
log: () => {},
debug: () => {},
verbose: () => {},
info: () => {},
warn: () => {},
error: () => {},
} as ILogger;
export const initLogger = () => {
LoggerProxy.init(fakeLogger);
};