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 4df7cb5 commit 8ca1f21Copy full SHA for 8ca1f21
packages/cubejs-server-core/core/index.js
@@ -93,7 +93,12 @@ class CubejsServerCore {
93
const client = new Analytics('dSR8JiNYIGKyQHKid9OaLYugXLao18hA', { flushInterval: 100 });
94
const { machineIdSync } = require('node-machine-id');
95
const { promisify } = require('util');
96
- const anonymousId = machineIdSync();
+ let anonymousId = 'unknown';
97
+ try {
98
+ anonymousId = machineIdSync();
99
+ } catch (e) {
100
+ // console.error(e);
101
+ }
102
this.anonymousId = anonymousId;
103
this.event = async (name, props) => {
104
if (!options.telemetry) {
0 commit comments