Skip to content

Commit

Permalink
fix: enable sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
slowbackspace committed Dec 20, 2023
1 parent 6fb46b3 commit d6b397e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { registerPoolCommand } from './commands/pool/pool.js';
import { registerBlockfrostHelpCommand } from './commands/blockfrost-help/blockfrost-help.js';
import { registerRootEndpoint } from './endpoints/index.js';
import { logger } from './utils/logger.js';
import { initializeSentry } from './utils/sentry.js';
const { App, ExpressReceiver, LogLevel } = bolt;

const port = Number(process.env.PORT) || 3000;
Expand Down Expand Up @@ -71,6 +72,8 @@ registerWelcomeMessage(app);
registerWebhookEndpoint(expressReceiver);
registerRootEndpoint(expressReceiver);

initializeSentry();

(async () => {
// Start your app
await app.start(port);
Expand Down

0 comments on commit d6b397e

Please sign in to comment.