mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +01:00
Refactor sentry
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user