mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 21:37:32 -08:00
fix(benchmark): Always print out container logs after run (#10977)
This commit is contained in:
parent
a13a4f7442
commit
c7888ef229
|
@ -105,9 +105,8 @@ async function main() {
|
|||
console.error(error.message);
|
||||
console.error('');
|
||||
await printContainerStatus(dockerComposeClient);
|
||||
console.error('');
|
||||
await dumpLogs(dockerComposeClient);
|
||||
} finally {
|
||||
await dumpLogs(dockerComposeClient);
|
||||
await dockerComposeClient.$('down');
|
||||
}
|
||||
}
|
||||
|
@ -118,7 +117,7 @@ async function printContainerStatus(dockerComposeClient) {
|
|||
}
|
||||
|
||||
async function dumpLogs(dockerComposeClient) {
|
||||
console.error('Container logs:');
|
||||
console.info('Container logs:');
|
||||
await dockerComposeClient.$('logs');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue