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 316f030Copy full SHA for 316f030
packages/ember/index.js
@@ -1,6 +1,7 @@
1
'use strict';
2
const fs = require('fs');
3
const crypto = require('crypto');
4
+const { dropUndefinedKeys } = require('@sentry/utils');
5
6
function readSnippet(fileName) {
7
return fs.readFileSync(`${__dirname}/vendor/${fileName}`, 'utf8');
@@ -30,7 +31,7 @@ module.exports = {
30
31
included() {
32
const app = this._findHost();
33
const config = app.project.config(app.env);
- const addonConfig = config['@sentry/ember'] || {};
34
+ const addonConfig = dropUndefinedKeys(config['@sentry/ember'] || {});
35
36
if (!isSerializable(addonConfig)) {
37
// eslint-disable-next-line no-console
0 commit comments