@mongodb-js/compass-logging
Advanced tools
Comparing version 0.0.0-next-d9691f3c8230e21aeb2817ac2c984aba0d79f09c to 0.0.0-next-dd9be0f790095ebc62a3de5b5f33543ff3c55cf3
@@ -81,3 +81,14 @@ "use strict"; | ||
if (typeof properties === 'function') { | ||
data.properties = await properties(); | ||
try { | ||
data.properties = await properties(); | ||
} | ||
catch (error) { | ||
emit(ipc, 'compass:track', { | ||
event: 'Error Fetching Attributes', | ||
properties: { | ||
event_name: event, | ||
}, | ||
}); | ||
return; | ||
} | ||
} | ||
@@ -84,0 +95,0 @@ emit(ipc, 'compass:track', data); |
@@ -16,3 +16,3 @@ { | ||
"homepage": "https://github.com/mongodb-js/compass", | ||
"version": "0.0.0-next-d9691f3c8230e21aeb2817ac2c984aba0d79f09c", | ||
"version": "0.0.0-next-dd9be0f790095ebc62a3de5b5f33543ff3c55cf3", | ||
"repository": { | ||
@@ -57,6 +57,6 @@ "type": "git", | ||
"devDependencies": { | ||
"@mongodb-js/eslint-config-compass": "0.0.0-next-d9691f3c8230e21aeb2817ac2c984aba0d79f09c", | ||
"@mongodb-js/mocha-config-compass": "0.0.0-next-d9691f3c8230e21aeb2817ac2c984aba0d79f09c", | ||
"@mongodb-js/prettier-config-compass": "0.0.0-next-d9691f3c8230e21aeb2817ac2c984aba0d79f09c", | ||
"@mongodb-js/tsconfig-compass": "0.0.0-next-d9691f3c8230e21aeb2817ac2c984aba0d79f09c", | ||
"@mongodb-js/eslint-config-compass": "0.0.0-next-dd9be0f790095ebc62a3de5b5f33543ff3c55cf3", | ||
"@mongodb-js/mocha-config-compass": "0.0.0-next-dd9be0f790095ebc62a3de5b5f33543ff3c55cf3", | ||
"@mongodb-js/prettier-config-compass": "0.0.0-next-dd9be0f790095ebc62a3de5b5f33543ff3c55cf3", | ||
"@mongodb-js/tsconfig-compass": "0.0.0-next-dd9be0f790095ebc62a3de5b5f33543ff3c55cf3", | ||
"@types/chai": "^4.2.21", | ||
@@ -68,3 +68,3 @@ "@types/mocha": "^9.0.0", | ||
"eslint": "^7.25.0", | ||
"hadron-ipc": "0.0.0-next-d9691f3c8230e21aeb2817ac2c984aba0d79f09c", | ||
"hadron-ipc": "0.0.0-next-dd9be0f790095ebc62a3de5b5f33543ff3c55cf3", | ||
"mocha": "^8.4.0", | ||
@@ -79,3 +79,3 @@ "nyc": "^15.1.0", | ||
}, | ||
"gitHead": "d9691f3c8230e21aeb2817ac2c984aba0d79f09c" | ||
"gitHead": "dd9be0f790095ebc62a3de5b5f33543ff3c55cf3" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41007
124