Skip to content

Commit

Permalink
fix(benchmark): Always print out container logs after run (#10977)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomi authored Sep 26, 2024
1 parent a13a4f7 commit c7888ef
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/@n8n/benchmark/scripts/run-for-n8n-setup.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}
Expand All @@ -118,7 +117,7 @@ async function printContainerStatus(dockerComposeClient) {
}

async function dumpLogs(dockerComposeClient) {
console.error('Container logs:');
console.info('Container logs:');
await dockerComposeClient.$('logs');
}

Expand Down

0 comments on commit c7888ef

Please sign in to comment.