Update dependency @sentry/browser to v7.94.1 (#12171)
* Update dependency @sentry/browser to v7.94.1 * Fix types Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
afda9d89ab
commit
a665f028c2
2 changed files with 59 additions and 47 deletions
|
@ -16,6 +16,7 @@ limitations under the License.
|
|||
|
||||
import * as Sentry from "@sentry/browser";
|
||||
import { MatrixClient } from "matrix-js-sdk/src/matrix";
|
||||
import { type Integration } from "@sentry/types/types/integration";
|
||||
|
||||
import SdkConfig from "./SdkConfig";
|
||||
import { MatrixClientPeg } from "./MatrixClientPeg";
|
||||
|
@ -203,7 +204,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 = [
|
||||
const integrations: Integration[] = [
|
||||
new Sentry.Integrations.InboundFilters(),
|
||||
new Sentry.Integrations.FunctionToString(),
|
||||
new Sentry.Integrations.Breadcrumbs(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue