提交 4a7ec03c 编写于 作者: D Dirk Baeumer

Log stdout if JSON.parse fails

上级 fa61ea9c
......@@ -223,6 +223,7 @@ export function listProcesses(rootPid: number): Promise<ProcessItem> {
reject(new Error(`Root process ${rootPid} not found`));
}
} catch (error) {
console.log(stdout);
reject(error);
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册