We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35fd6aa commit 7f2cecfCopy full SHA for 7f2cecf
lib/cmd/start.js
@@ -265,9 +265,12 @@ class StartCommand extends Command {
265
try {
266
const args = [ '-n', '100', stderr ];
267
this.logger.error('tail %s', args.join(' '));
268
- const [ stdout ] = await execFile('tail', args);
+ const [ headStdout ] = await execFile('head', args);
269
+ const [ tailStdout ] = await execFile('tail', args);
270
this.logger.error('Got error when startup: ');
- this.logger.error(stdout);
271
+ this.logger.error(headStdout);
272
+ this.logger.error('...');
273
+ this.logger.error(tailStdout);
274
} catch (err) {
275
this.logger.error('ignore tail error: %s', err);
276
}
0 commit comments