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:
parent
d3abeac7dc
commit
6616c0b937
@ -76,6 +76,13 @@ Sentry.init({
|
|||||||
new Dedupe(),
|
new Dedupe(),
|
||||||
new Offline()
|
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);
|
const workingDir = path.join(app.getPath("appData"), appName);
|
||||||
|
|||||||
@ -54,6 +54,13 @@ Sentry.init({
|
|||||||
new Dedupe(),
|
new Dedupe(),
|
||||||
new Offline()
|
new Offline()
|
||||||
],
|
],
|
||||||
|
initialScope: {
|
||||||
|
tags: {
|
||||||
|
"process": "renderer",
|
||||||
|
"rocess.env.NODE_ENV": process.env.NODE_ENV,
|
||||||
|
"process.env.CICD": process.env.CICD
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@observer
|
@observer
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user