Skip to content

Commit 5679fa2

Browse files
authored
Merge pull request #6424 from Countly/auto-symbol-config
Remove auto symbolication setting
2 parents 5e0ab86 + afdf094 commit 5679fa2

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Fixes:
44
- [core] Fix mongo connection url parsing
55
- [crashes] Fix free session and free user calculation
66

7+
Enterprise Fixes:
8+
- [crash_symbolication] Remove auto symbolication setting
9+
710
## Version 25.03.10
811
Enterprise Fixes:
912
- [okta] Fix body parser middleware version mismatch causing OKTA authentication break
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
const pluginManager = require('../../../../plugins/pluginManager.js');
2+
3+
console.log('Removing auto symbolication setting');
4+
5+
pluginManager.dbConnection().then(async(db) => {
6+
try {
7+
await db.collection('plugins').updateOne({ _id: 'plugins' }, { $unset: { 'crashes.automatic_symbolication': '' } });
8+
console.log('Auto symbolication setting removed');
9+
}
10+
catch(err) {
11+
console.error('Error while removing auto symbolication setting', err);
12+
}
13+
14+
db.close();
15+
});

0 commit comments

Comments
 (0)