We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abd8b4d commit e2a1205Copy full SHA for e2a1205
packages/ember/index.js
@@ -2,6 +2,8 @@
2
const fs = require('fs');
3
const crypto = require('crypto');
4
5
+const { dropUndefinedKeys } = require('@sentry/utils');
6
+
7
function readSnippet(fileName) {
8
return fs.readFileSync(`${__dirname}/vendor/${fileName}`, 'utf8');
9
}
@@ -30,7 +32,7 @@ module.exports = {
30
32
included() {
31
33
const app = this._findHost();
34
const config = app.project.config(app.env);
- const addonConfig = config['@sentry/ember'] || {};
35
+ const addonConfig = dropUndefinedKeys(config['@sentry/ember'] || {});
36
37
if (!isSerializable(addonConfig)) {
38
// eslint-disable-next-line no-console
0 commit comments