mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
fix: more type annotation
This commit is contained in:
1 parent
3ac692d8eb
commit
2560f0fe9a
65 files changed
+408
-343
No files matched your search
@@ -1,13 +1,13 @@
|
||||
import { Logger } from 'pino';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
|
||||
module.exports = {
|
||||
name: 'unhandledRejection',
|
||||
isDebug: false,
|
||||
execute: async (error: Error) => {
|
||||
const executionId = uuidv4();
|
||||
const logger = loggerModule.child({
|
||||
const executionId: string = uuidv4();
|
||||
const logger: Logger = loggerModule.child({
|
||||
source: 'unhandledRejection.js',
|
||||
module: 'event',
|
||||
name: 'unhandledRejection',
|
||||
|
||||
Reference in new issue
Block a user