mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add initialScope (tags)
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
2 files changed
+14
No files matched your search
@@ -76,6 +76,13 @@ Sentry.init({
|
||||
new Dedupe(),
|
||||
new Offline()
|
||||
],
|
||||
initialScope: {
|
||||
tags: {
|
||||
"process": "main",
|
||||
"rocess.env.NODE_ENV": process.env.NODE_ENV,
|
||||
"process.env.CICD": process.env.CICD
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
const workingDir = path.join(app.getPath("appData"), appName);
|
||||
|
||||
@@ -54,6 +54,13 @@ Sentry.init({
|
||||
new Dedupe(),
|
||||
new Offline()
|
||||
],
|
||||
initialScope: {
|
||||
tags: {
|
||||
"process": "renderer",
|
||||
"rocess.env.NODE_ENV": process.env.NODE_ENV,
|
||||
"process.env.CICD": process.env.CICD
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@observer
|
||||
|
||||
Reference in new issue
Block a user