mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Fix typo in sentry dsn naming
This commit is contained in:
@ -21,7 +21,7 @@ const win: { [key: string]: any } = window as any;
|
||||
history.init();
|
||||
|
||||
logger.init({
|
||||
sentryCdn: (window as any).SENTRY_CDN as string,
|
||||
sentryDSN: (window as any).SENTRY_DSN as string,
|
||||
});
|
||||
|
||||
const store = storeFactory();
|
||||
|
@ -6,9 +6,9 @@ const isTest = process.env.NODE_ENV === 'test';
|
||||
const isProduction = process.env.NODE_ENV === 'production';
|
||||
|
||||
class Logger {
|
||||
init({ sentryCdn }: { sentryCdn: string }) {
|
||||
if (sentryCdn) {
|
||||
Raven.config(sentryCdn, {
|
||||
init({ sentryDSN }: { sentryDSN: string }) {
|
||||
if (sentryDSN) {
|
||||
Raven.config(sentryDSN, {
|
||||
logger: 'accounts-js-app',
|
||||
level: 'info',
|
||||
environment: process.env.APP_ENV,
|
||||
|
Reference in New Issue
Block a user