提交 366ed0d5 编写于 作者: I isidor

explorer: do not show error for roots since we already use an explorer decoration to notify user

fixes #44809
上级 5685bcd5
......@@ -108,7 +108,10 @@ export class FileDataSource implements IDataSource {
return stat.children;
}, (e: any) => {
this.notificationService.error(e);
// Do not show error for roots since we already use an explorer decoration to notify user
if (!(stat instanceof FileStat && stat.isRoot)) {
this.notificationService.error(e);
}
return []; // we could not resolve any children because of an error
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册