Capture stderr in E2E plugin creation step
Keep stderr capture from the plugin creation child process to aid debugging if the command fails in the future. Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -392,13 +392,7 @@ async function createPlugin(options: {
|
||||
});
|
||||
|
||||
print('Waiting for plugin create script to be done');
|
||||
try {
|
||||
await child.waitForExit();
|
||||
} catch (error) {
|
||||
print(`stdout: ${stdout}`);
|
||||
print(`stderr: ${stderr}`);
|
||||
throw error;
|
||||
}
|
||||
await child.waitForExit();
|
||||
|
||||
const pluginDir = resolvePath(
|
||||
appDir,
|
||||
|
||||
Reference in New Issue
Block a user