Avoid use of transitive deps
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
01039137b5
commit
458b4a45e5
2 changed files with 4 additions and 5 deletions
|
@ -8,7 +8,6 @@ Please see LICENSE files in the repository root for full details.
|
|||
|
||||
import * as Sentry from "@sentry/browser";
|
||||
import { MatrixClient } from "matrix-js-sdk/src/matrix";
|
||||
import { type Integration } from "@sentry/types/build/types/integration";
|
||||
|
||||
import SdkConfig from "./SdkConfig";
|
||||
import { MatrixClientPeg } from "./MatrixClientPeg";
|
||||
|
@ -196,7 +195,7 @@ export function setSentryUser(mxid: string): void {
|
|||
export async function initSentry(sentryConfig: IConfigOptions["sentry"]): Promise<void> {
|
||||
if (!sentryConfig) return;
|
||||
// Only enable Integrations.GlobalHandlers, which hooks uncaught exceptions, if automaticErrorReporting is true
|
||||
const integrations: Integration[] = [
|
||||
const integrations = [
|
||||
Sentry.inboundFiltersIntegration(),
|
||||
Sentry.functionToStringIntegration(),
|
||||
Sentry.breadcrumbsIntegration(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue