Skip to content

Commit

Permalink
Elaborate on timeout message, make setting more discoverable
Browse files Browse the repository at this point in the history
  • Loading branch information
tehKaiN authored Oct 31, 2024
1 parent d6b36f8 commit 14bf18a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cm/shell/cmShell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class CmShell implements ICmShell {
if (!await this.waitUntilFileDeleted(commFile, this.mShellConfig.millisToWaitUntilUp)) {
CmShell.unbindProcessStream(this.mProcess.stdout, readOut);
CmShell.unbindProcessStream(this.mProcess.stderr, readErr);
this.mChannel.appendLine("Cm shell didn't respond after 3 seconds");
this.mChannel.appendLine(`Cm shell didn't respond after {this.mShellConfig.millisToWaitUntilUp / 1000} seconds. Consider adjusting "plastic-scm.cmConfiguration.millisToWaitUntilUp" setting.`);

if (fs.existsSync(commFile)) {
await new Promise<void>(resolve => fs.unlink(commFile, () => resolve()));
Expand Down

0 comments on commit 14bf18a

Please sign in to comment.