getMachineId should not use errors.onUnexpectedError (#176512)

This commit is contained in:
Martin Aeschlimann
2023-03-08 14:37:38 +01:00
committed by GitHub
parent 3b8ff0cb0b
commit f1d871dbf1
8 changed files with 17 additions and 14 deletions
+1 -1
View File
@@ -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);