Skip to content

Modal warning about 'detect node runtime' is too eager #1034

@gjsjohnmurray

Description

@gjsjohnmurray

Let's make it wait more than 5 seconds:

const failureMessageTimer = setTimeout(() => {
window.showWarningMessage("Check Terminal view for an erroring 'detect node runtime' session. Capture details for investigation, then kill the terminal to continue SQLTools extension startup. Change the 'sqltools.detectNodeRuntime' setting to disable runtime detection.",
{ modal: true });
commands.executeCommand("terminal.focus");
}, 5000);

Arose from #1024 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions