Refactor sentry

This commit is contained in:
2022-04-01 21:43:33 +03:00
parent 4166e44842
commit 69ca54b055
6 changed files with 17 additions and 37 deletions

View File

@@ -1,14 +1,10 @@
import * as Sentry from '@sentry/node';
import { createClient, RedisClientType } from 'redis';
import moment from 'moment';
import BotsManager from '@/bots/manager';
import env from '@/config';
import BotsManager from '@/bots/manager';
Sentry.init({
dsn: env.SENTRY_DSN,
});
import Sentry from '@/sentry';
enum RedisKeys {