mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-14 07:12:00 +01:00
getMachineId should not use errors.onUnexpectedError (#176512)
This commit is contained in:
@@ -209,7 +209,7 @@ class CliMain extends Disposable {
|
||||
commonProperties: (async () => {
|
||||
let machineId: string | undefined = undefined;
|
||||
try {
|
||||
machineId = await resolveMachineId(stateService);
|
||||
machineId = await resolveMachineId(stateService, logService);
|
||||
} catch (error) {
|
||||
if (error.code !== 'ENOENT') {
|
||||
logService.error(error);
|
||||
|
||||
Reference in New Issue
Block a user