Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide the actionable error message from lang host on wrong runtime #406

Open
pawelprazak opened this issue Feb 28, 2024 · 0 comments
Open
Labels
area/language-host Runtime that executes user programs impact/usability Something that impacts users' ability to use the product easily and intuitively

Comments

@pawelprazak
Copy link
Contributor

Currently the user gets error like this, when the lang host cannot find what it needs (runtime: scala when the code is nodejs).

Previewing update (dev):
     Type                 Name               Plan     Info
     pulumi:pulumi:Stack  issue-karol-2-dev           1 error; 1 message
Diagnostics:
  pulumi:pulumi:Stack (issue-karol-2-dev):
    [error]  No main class found
    error: an unhandled error occurred: '/opt/homebrew/bin/scala-cli /opt/homebrew/bin/scala-cli run .' exited with non-zero exit code: 1

It would be awesome to provide the user with actionable error message.

@pawelprazak pawelprazak added impact/usability Something that impacts users' ability to use the product easily and intuitively area/language-host Runtime that executes user programs labels Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/language-host Runtime that executes user programs impact/usability Something that impacts users' ability to use the product easily and intuitively
Projects
None yet
Development

No branches or pull requests

1 participant