mirror of
https://github.com/valitydev/control-center.git
synced 2024-11-06 02:25:17 +00:00
FR-742: Fix Sentry (#283)
This commit is contained in:
parent
767e01ac28
commit
14fe9434f6
14
package-lock.json
generated
14
package-lock.json
generated
@ -23,7 +23,7 @@
|
||||
"@angular/router": "~12.1.4",
|
||||
"@ngneat/until-destroy": "^8.0.3",
|
||||
"@rbkmoney/partial-fetcher": "~0.4.0",
|
||||
"@rbkmoney/sentry": "^0.0.1",
|
||||
"@rbkmoney/sentry": "^0.1.0",
|
||||
"@rbkmoney/utils": "~0.4.0",
|
||||
"@rbkmoney/woody_js": "^0.1.0",
|
||||
"angular-file": "3.0.1",
|
||||
@ -3815,9 +3815,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rbkmoney/sentry": {
|
||||
"version": "0.0.1",
|
||||
"resolved": "https://npm.pkg.github.com/download/@rbkmoney/sentry/0.0.1/bcf3fd51c011f7ecde84500b6ee19341d1780958daaa91e2deaa0a72ff1a4dfd",
|
||||
"integrity": "sha512-AzwQpchPyXnCch7ohZNzRdtDbfQkHlgOlcd+vPaNwzTDDryHBNcTHoflPdAxzS0UYX8BjQ+efPZHToorbRbagw==",
|
||||
"version": "0.1.0",
|
||||
"resolved": "https://npm.pkg.github.com/download/@rbkmoney/sentry/0.1.0/b28d2aac364f1c75675c937faa0475542695278931dae7456130bcf0e4a5ef34",
|
||||
"integrity": "sha512-GlKmOpCT0AcLHiG0L8kjS5/mZYCaYMhlLCAvSETJILnOo/3CKru4Imd7GcM2gPA7V7t7stMQNLjhu/i8CFl7vw==",
|
||||
"dependencies": {
|
||||
"@sentry/angular": "^6.12.0",
|
||||
"@sentry/integrations": "^6.12.0",
|
||||
@ -27495,9 +27495,9 @@
|
||||
}
|
||||
},
|
||||
"@rbkmoney/sentry": {
|
||||
"version": "0.0.1",
|
||||
"resolved": "https://npm.pkg.github.com/download/@rbkmoney/sentry/0.0.1/bcf3fd51c011f7ecde84500b6ee19341d1780958daaa91e2deaa0a72ff1a4dfd",
|
||||
"integrity": "sha512-AzwQpchPyXnCch7ohZNzRdtDbfQkHlgOlcd+vPaNwzTDDryHBNcTHoflPdAxzS0UYX8BjQ+efPZHToorbRbagw==",
|
||||
"version": "0.1.0",
|
||||
"resolved": "https://npm.pkg.github.com/download/@rbkmoney/sentry/0.1.0/b28d2aac364f1c75675c937faa0475542695278931dae7456130bcf0e4a5ef34",
|
||||
"integrity": "sha512-GlKmOpCT0AcLHiG0L8kjS5/mZYCaYMhlLCAvSETJILnOo/3CKru4Imd7GcM2gPA7V7t7stMQNLjhu/i8CFl7vw==",
|
||||
"requires": {
|
||||
"@sentry/angular": "^6.12.0",
|
||||
"@sentry/integrations": "^6.12.0",
|
||||
|
@ -36,7 +36,7 @@
|
||||
"@angular/router": "~12.1.4",
|
||||
"@ngneat/until-destroy": "^8.0.3",
|
||||
"@rbkmoney/partial-fetcher": "~0.4.0",
|
||||
"@rbkmoney/sentry": "^0.0.1",
|
||||
"@rbkmoney/sentry": "^0.1.0",
|
||||
"@rbkmoney/utils": "~0.4.0",
|
||||
"@rbkmoney/woody_js": "^0.1.0",
|
||||
"angular-file": "3.0.1",
|
||||
|
@ -13,6 +13,7 @@ import { MatSidenavModule } from '@angular/material/sidenav';
|
||||
import { MatToolbarModule } from '@angular/material/toolbar';
|
||||
import { BrowserModule, DomSanitizer } from '@angular/platform-browser';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { Router } from '@angular/router';
|
||||
import { createSentryProviders } from '@rbkmoney/sentry';
|
||||
import * as moment from 'moment';
|
||||
|
||||
@ -92,7 +93,7 @@ moment.locale('en');
|
||||
{ provide: SEARCH_LIMIT, useValue: DEFAULT_SEARCH_LIMIT },
|
||||
{ provide: SMALL_SEARCH_LIMIT, useValue: DEFAULT_SMALL_SEARCH_LIMIT },
|
||||
{ provide: DIALOG_CONFIG, useValue: DEFAULT_DIALOG_CONFIG },
|
||||
createSentryProviders({ logErrors: environment.production }),
|
||||
...createSentryProviders([Router], { logErrors: environment.production }),
|
||||
],
|
||||
bootstrap: [AppComponent],
|
||||
})
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||
import { initSentry } from '@rbkmoney/sentry';
|
||||
import { TraceService } from '@sentry/angular';
|
||||
import { initSentry, TraceService } from '@rbkmoney/sentry';
|
||||
import { KeycloakAngularModule, KeycloakService } from 'keycloak-angular';
|
||||
|
||||
import { environment } from '../../environments/environment';
|
||||
|
Loading…
Reference in New Issue
Block a user