提交 b4a0ebc5 编写于 作者: D Dirk Baeumer

Show provider errors in output panel.

上级 0dcf33e6
......@@ -1368,9 +1368,16 @@ class TaskService extends EventEmitter implements ITaskService {
resolve(result);
}
};
let error = () => {
if (--counter === 0) {
resolve(result);
let error = (error: any) => {
try {
if (Types.isString(error.message)) {
this._outputChannel.append(error.message);
this._outputChannel.show(true);
}
} finally {
if (--counter === 0) {
resolve(result);
}
}
};
if (this.schemaVersion === JsonSchemaVersion.V2_0_0 && this._providers.size > 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册