@mongodb-js/compass-logging
Advanced tools
Comparing version 0.0.0-next-823f55a862f13d28437b87fb594450b2208c0d4f to 0.0.0-next-91daa029e219b08cf0b775b6648d35867f2272d0
@@ -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-823f55a862f13d28437b87fb594450b2208c0d4f", | ||
"version": "0.0.0-next-91daa029e219b08cf0b775b6648d35867f2272d0", | ||
"repository": { | ||
@@ -57,6 +57,6 @@ "type": "git", | ||
"devDependencies": { | ||
"@mongodb-js/eslint-config-compass": "0.0.0-next-823f55a862f13d28437b87fb594450b2208c0d4f", | ||
"@mongodb-js/mocha-config-compass": "0.0.0-next-823f55a862f13d28437b87fb594450b2208c0d4f", | ||
"@mongodb-js/prettier-config-compass": "0.0.0-next-823f55a862f13d28437b87fb594450b2208c0d4f", | ||
"@mongodb-js/tsconfig-compass": "0.0.0-next-823f55a862f13d28437b87fb594450b2208c0d4f", | ||
"@mongodb-js/eslint-config-compass": "0.0.0-next-91daa029e219b08cf0b775b6648d35867f2272d0", | ||
"@mongodb-js/mocha-config-compass": "0.0.0-next-91daa029e219b08cf0b775b6648d35867f2272d0", | ||
"@mongodb-js/prettier-config-compass": "0.0.0-next-91daa029e219b08cf0b775b6648d35867f2272d0", | ||
"@mongodb-js/tsconfig-compass": "0.0.0-next-91daa029e219b08cf0b775b6648d35867f2272d0", | ||
"@types/chai": "^4.2.21", | ||
@@ -68,3 +68,3 @@ "@types/mocha": "^9.0.0", | ||
"eslint": "^7.25.0", | ||
"hadron-ipc": "0.0.0-next-823f55a862f13d28437b87fb594450b2208c0d4f", | ||
"hadron-ipc": "0.0.0-next-91daa029e219b08cf0b775b6648d35867f2272d0", | ||
"mocha": "^8.4.0", | ||
@@ -79,3 +79,3 @@ "nyc": "^15.1.0", | ||
}, | ||
"gitHead": "823f55a862f13d28437b87fb594450b2208c0d4f" | ||
"gitHead": "91daa029e219b08cf0b775b6648d35867f2272d0" | ||
} |
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