change(tracker): remove unused tags for exceptions

This commit is contained in:
sylenien 2022-10-12 12:28:29 +02:00
parent b43de16468
commit 691dd9ca57

View file

@ -45,11 +45,6 @@ export type Options = Partial<
__DISABLE_SECURE_MODE?: boolean
}
interface ErrorExtra {
tags: string[]
meta: Record<string, string | number>
}
const DOCS_SETUP = '/installation/setup-or'
function processOptions(obj: any): obj is Options {
@ -276,11 +271,7 @@ export default class API {
}
}
handleError = (
e: Error | ErrorEvent | PromiseRejectionEvent,
tags?: string[],
metadata?: Record<string, any>,
) => {
handleError = (e: Error | ErrorEvent | PromiseRejectionEvent, metadata?: Record<string, any>) => {
if (this.app === null) {
return
}