Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Commit

Permalink
Sentry release info init
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinaisslaying committed Aug 10, 2020
1 parent ff9b355 commit 3167bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import { RedisOptions } from "ioredis";

const app = express();

if (!settings.website.dev) Sentry.init({ dsn: settings.secrets.sentry });
if (!settings.website.dev) Sentry.init({ dsn: settings.secrets.sentry, release: "lgbt-website@" + process.env.npm_package_version });
if (!settings.website.dev) app.use(Sentry.Handlers.requestHandler() as express.RequestHandler);

let dbReady: boolean = false;
Expand Down

0 comments on commit 3167bef

Please sign in to comment.