web/user: enable sentry
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
72b375023d
commit
50aa87d141
|
@ -17,6 +17,7 @@ import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
||||||
import { CurrentTenant, EventsApi } from "@goauthentik/api";
|
import { CurrentTenant, EventsApi } from "@goauthentik/api";
|
||||||
|
|
||||||
import { DEFAULT_CONFIG, tenant } from "../api/Config";
|
import { DEFAULT_CONFIG, tenant } from "../api/Config";
|
||||||
|
import { configureSentry } from "../api/Sentry";
|
||||||
import { me } from "../api/Users";
|
import { me } from "../api/Users";
|
||||||
import { WebsocketClient } from "../common/ws";
|
import { WebsocketClient } from "../common/ws";
|
||||||
import {
|
import {
|
||||||
|
@ -99,6 +100,7 @@ export class UserInterface extends LitElement {
|
||||||
this.firstUpdated();
|
this.firstUpdated();
|
||||||
});
|
});
|
||||||
tenant().then((tenant) => (this.tenant = tenant));
|
tenant().then((tenant) => (this.tenant = tenant));
|
||||||
|
configureSentry(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
firstUpdated(): void {
|
firstUpdated(): void {
|
||||||
|
|
Reference in New Issue