mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 14:38:49 +00:00
update logger exports
This commit is contained in:
1 parent
cdf37ce503
commit
e1b0aea7fc
62 files changed
+114
-152
No files matched your search
@@ -7,9 +7,8 @@ import {
|
||||
InteractionType,
|
||||
MessageComponentInteraction
|
||||
} from 'discord.js';
|
||||
import { Logger } from 'pino';
|
||||
import { CustomError, InteractionValidationError } from '../common/classes/interactions';
|
||||
import loggerModule from '../common/services/logger';
|
||||
import { loggerService, Logger } from '../common/services/logger';
|
||||
import { BotOptions, EmbedOptions } from '../types/configTypes';
|
||||
import { useServerTranslator } from '../common/utils/localeUtil';
|
||||
|
||||
@@ -22,7 +21,7 @@ export const handleError = async (
|
||||
executionId: string,
|
||||
interactionIdentifier: string
|
||||
) => {
|
||||
const logger: Logger = loggerModule.child({
|
||||
const logger: Logger = loggerService.child({
|
||||
module: 'handler',
|
||||
name: 'interactionErrorHandler',
|
||||
executionId: executionId
|
||||
|
||||
Reference in new issue
Block a user