mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-08-09 18:33:05 +02:00
Update sentry
This commit is contained in:
@@ -119,6 +119,11 @@ if (elm) {
|
||||
environment: environment || '',
|
||||
ignoreErrors: SentryIgnore
|
||||
});
|
||||
|
||||
Sentry.setTag("type", "dashboard");
|
||||
if (document.body.getAttribute(`data-vscode-theme-id`)) {
|
||||
Sentry.setTag("theme", document.body.getAttribute(`data-vscode-theme-id`));
|
||||
}
|
||||
}
|
||||
|
||||
elm.setAttribute("class", `${experimental ? "experimental" : ""} bg-[var(--vscode-editor-background)] text-[var(--vscode-editor-foreground)]`);
|
||||
|
||||
@@ -42,6 +42,11 @@ if (elm) {
|
||||
environment: environment || '',
|
||||
ignoreErrors: SentryIgnore
|
||||
});
|
||||
|
||||
Sentry.setTag("type", "panel");
|
||||
if (document.body.getAttribute(`data-vscode-theme-id`)) {
|
||||
Sentry.setTag("theme", document.body.getAttribute(`data-vscode-theme-id`));
|
||||
}
|
||||
}
|
||||
|
||||
render(
|
||||
|
||||
Reference in New Issue
Block a user