File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/compass/src/app/utils Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import ConnectionString from 'mongodb-connection-string-url';
66import resolveMongodbSrv from 'resolve-mongodb-srv' ;
77import type { KMSProviders , MongoClientOptions } from 'mongodb' ;
88import { createLogger } from '@mongodb-js/compass-logging' ;
9- const { log, mongoLogId } = createLogger ( 'COMPASS-TELEMETRY' ) ;
9+ const { debug , log, mongoLogId } = createLogger ( 'COMPASS-TELEMETRY' ) ;
1010
1111type HostInformation = {
1212 is_localhost : boolean ;
@@ -40,6 +40,8 @@ async function getPublicCloudInfo(host: string): Promise<{
4040 public_cloud_name,
4141 } ;
4242 } catch ( err ) {
43+ debug ( `getCloudInfo failed: ${ ( err as Error ) . message } ` ) ;
44+
4345 log . error (
4446 mongoLogId ( 1_001_000_339 ) ,
4547 'getPublicCloudInfo' ,
You can’t perform that action at this time.
0 commit comments