提交 e8c1a1e7 编写于 作者: S Sandeep Somavarapu

add logging

上级 9f83b385
......@@ -53,7 +53,7 @@ export class UserDataAutoSyncService extends Disposable implements IUserDataAuto
}
} else {
if (this.autoSync.value !== undefined) {
this.logService.trace('Auto Sync: Disabled because', reason);
this.logService.info('Auto Sync: Disabled because', reason);
this.autoSync.clear();
}
}
......@@ -173,6 +173,7 @@ class AutoSync extends Disposable {
try {
await this.userDataSyncService.sync();
} catch (e) {
this.logService.error(e);
error = e;
}
this._onDidFinishSync.fire(error);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册