Update sentry

This commit is contained in:
Elio Struyf
2023-07-19 21:49:59 -04:00
parent 0924a97b43
commit face167d56
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -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)]`);
+5
View File
@@ -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(