Skip to content

Commit

Permalink
fix(e2e): improve e2e utils logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jogelin committed Dec 17, 2024
1 parent b0cfe14 commit 868a2c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/utils/create-huge-nx-workspace.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,11 @@ export function runCommand(command: string, cwd: string, stdio: 'inherit' | 'pip

return result;
} catch (e) {
console.error(`[ERROR]: Command: ${command}`, `${e.stdout}\n\n${e.stderr}`);
console.error(`[ERROR]: runCommand START -----------------------------`);
console.error(command);
console.error(result);
console.error(e);
console.error(`[ERROR]: runCommand END -----------------------------`);
throw e;
}
}

0 comments on commit 868a2c5

Please sign in to comment.