提交 376641be 编写于 作者: J Johannes Rieken

improve error logging...

上级 69ff27cb
......@@ -129,7 +129,7 @@ class SnippetsService implements ISnippetsService {
this._files.forEach(file => {
promises.push(file.load()
.then(file => file.select(langName, result))
.catch(err => this._logService.error(err))
.catch(err => this._logService.error(err, file.filepath))
);
});
return Promise.all(promises).then(() => result);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册