refactor(core): Make Logger a service (no-changelog) (#7494)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-10-25 16:35:22 +02:00
committed by GitHub
parent db4e61ba24
commit 05586a900d
131 changed files with 761 additions and 919 deletions

View File

@@ -3,7 +3,6 @@
import { MessageEventBusDestination } from './MessageEventBusDestination.ee';
import * as Sentry from '@sentry/node';
import {
LoggerProxy,
MessageEventBusDestinationTypeNames,
MessageEventBusDestinationSentryOptions,
} from 'n8n-workflow';
@@ -90,7 +89,7 @@ export class MessageEventBusDestinationSentry
sendResult = true;
}
} catch (error) {
if (error.message) LoggerProxy.debug(error.message as string);
if (error.message) this.logger.debug(error.message as string);
}
return sendResult;
}